Commit 15e22b31 authored by Brian Tiger Chow's avatar Brian Tiger Chow

chore(makefile) add vendor task

parent 45c432bd
build: build:
go build go build
# saves/vendors third-party dependencies to Godeps/_workspace
# -r flag rewrites import paths to use the vendored path
# ./... performs operation on all packages in tree
vendor: godep
godep save -r ./...
deps: deps:
go get ./... go get ./...
...@@ -10,3 +16,6 @@ watch: ...@@ -10,3 +16,6 @@ watch:
# for portability, use watchmedo -- pip install watchmedo # for portability, use watchmedo -- pip install watchmedo
@watchmedo shell-command --patterns="*.go;" --recursive \ @watchmedo shell-command --patterns="*.go;" --recursive \
--command='make' . --command='make' .
godep:
go get github.com/tools/godep
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment