mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
Fixed vendor scripts
This commit is contained in:
parent
1f6d7a50b2
commit
dc4f8a6adb
6
Makefile
6
Makefile
@ -30,10 +30,6 @@ help:
|
||||
clean:
|
||||
@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
|
||||
local: | quiet
|
||||
@$(eval DOCKRUN= )
|
||||
@ -75,7 +71,7 @@ install: build
|
||||
# Each of the fetch should be an entry within vendor.json; not currently included within project
|
||||
.PHONY: vendor
|
||||
vendor: tmp/dev_image_id
|
||||
${DOCKRUN} bash ./scripts/vendor.sh
|
||||
${DOCKRUN} govendor sync
|
||||
@chmod 664 vendor/vendor.json
|
||||
|
||||
# ----------------------------------------------
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user