Fixed vendor scripts

This commit is contained in:
Mike Farah 2017-12-18 11:23:33 +11:00
parent 1f6d7a50b2
commit dc4f8a6adb
2 changed files with 1 additions and 14 deletions

View File

@ -30,10 +30,6 @@ help:
clean: clean:
@rm -rf bin build cover *.out @rm -rf bin build cover *.out
veryclean: clean
rm -rf tmp
find vendor/* -maxdepth 0 -ignore_readdir_race -type d -exec rm -rf {} \;
## prefix before other make targets to run in your local dev environment ## prefix before other make targets to run in your local dev environment
local: | quiet local: | quiet
@$(eval DOCKRUN= ) @$(eval DOCKRUN= )
@ -75,7 +71,7 @@ install: build
# Each of the fetch should be an entry within vendor.json; not currently included within project # Each of the fetch should be an entry within vendor.json; not currently included within project
.PHONY: vendor .PHONY: vendor
vendor: tmp/dev_image_id vendor: tmp/dev_image_id
${DOCKRUN} bash ./scripts/vendor.sh ${DOCKRUN} govendor sync
@chmod 664 vendor/vendor.json @chmod 664 vendor/vendor.json
# ---------------------------------------------- # ----------------------------------------------

View File

@ -1,9 +0,0 @@
#!/bin/bash
set -e
govendor fetch github.com/op/go-logging
govendor fetch github.com/spf13/cobra
govendor fetch gopkg.in/yaml.v2
govendor fetch github.com/imdario/mergo
govendor sync