Skip to main content
Version: 1.12.x

General set-up

If you have not done so yet, set up a Linux machine.

Clone the Droppr git repository.

Set up for Go development

It is recommended to update to the latest version of Go for development. Confirm go version:

go version

Build droppr:

cd droppr
go build -o bin/droppr -ldflags="-X 'gitlab.com/hoppr/droppr/cmd.Version=0.1.2-cac'"

Optional: run Droppr unit tests.

At this point, you can do droppr development!

Optionally, verify that an integration test works.

Example:

Run the Python filesys test locally (one still needs to perform manual assertions; this just populates the target_dir)

cd test/Python/filesys/
../../../bin/droppr install -b ../bundle.tar.gz

Installing a different version of Go

If your Linux Machine has an older version of Go, upgrade with the following command:

wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz