You need to have these things running on your computer. Please refer to their websites for help getting them installed.
- Go version 1.9 or higher
- Yarn
- Make
- Mac and Linux users should be okay out of the box
- Windows users should install Make for Windows
- scc
Fork Git Town and clone your fork into a directory outside your GOPATH. Git Town uses Go modules and doesn't work properly inside the GOPATH.
Cd into the directory you just cloned and run
make setup
to download additional
tooling and dependencies.
To make sure everything works,
- build the tool:
make build
- now you have
$GOPATH/bin/git-town
compiled from your local source code
- now you have
- run the tests:
make test