Guide for developers

Building

Assuming git, Vagrant and VirtualBox installed:

 host> git clone https://github.com/snowplow/dataflow-runner
 host> cd dataflow-runner
 host> vagrant up && vagrant ssh
guest> cd /opt/gopath/src/github.com/snowplow/dataflow-runner
guest> make test
guest> make

To remove all build files:

guest> make clean

To format the golang code in the source directory:

guest> make format

Note: Always run format before submitting any code.

Note: The make test command also generates a code coverage file which can be found at build/coverage/coverage.html.

Publishing

This is handled through CI/CD on Travis. However all binaries will be generated by using the make command for local publishing.