Installation requires go 1.5 with the go 1.5 vendoring experiment turned on by
setting the environment variable GO15VENDOREXPERIMENT=1
. Given that:
go get github.com/nullstyle/mcdev/cmd/...
mcdev-each-change go test {{.Pkg}}
mcdev-rerun go run examples/server.go
The pkgwatch
package converts notifications of changed files into
notifications of changed go packages. Normally, this is done by searching the
GOPATH for parents of the file that was changed. This doesn't play well with
the gb tool.
Instead, we provide a "gb mode" for the pkgwatch package, enabled by setting the
-gb
flag on the command line. When enabled and the tools are run from a gb
project root, the correct package changes will be detected.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
See LICENSE.txt