Commit 5072d737 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #429 from mwhooker/makeme

updatedeps target.
parents 69227896 dcb1bb76
...@@ -2,6 +2,7 @@ NO_COLOR=\033[0m ...@@ -2,6 +2,7 @@ NO_COLOR=\033[0m
OK_COLOR=\033[32;01m OK_COLOR=\033[32;01m
ERROR_COLOR=\033[31;01m ERROR_COLOR=\033[31;01m
WARN_COLOR=\033[33;01m WARN_COLOR=\033[33;01m
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
all: deps all: deps
@mkdir -p bin/ @mkdir -p bin/
...@@ -11,7 +12,11 @@ all: deps ...@@ -11,7 +12,11 @@ all: deps
deps: deps:
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)" @echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
@go get -d -v ./... @go get -d -v ./...
@go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs -n1 go get -d @echo $(DEPS) | xargs -n1 go get -d
updatedeps:
@echo "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
@echo $(DEPS) | xargs -n1 go get -d -u
clean: clean:
@rm -rf bin/ local/ pkg/ src/ website/.sass-cache website/build @rm -rf bin/ local/ pkg/ src/ website/.sass-cache website/build
......
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