Skip to content

Commit 274680c

Browse files
authored
Merge pull request #166 from vbatts/update-deps
Makefile: comments and simplify
2 parents d767e00 + ce633c1 commit 274680c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ lint:
9090
test:
9191
go test -race ./...
9292

93+
## this uses https://github.com/Masterminds/glide and https://github.com/sgotti/glide-vc
9394
update-deps:
9495
glide update --strip-vcs --strip-vendor --update-vendored --delete
9596
glide-vc --only-code --no-tests
9697
# see http://sed.sourceforge.net/sed1line.txt
97-
for f in $$(find vendor -type f); do sed -i -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' $$f; done
98+
find vendor -type f -exec sed -i -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;
9899

99100
img/%.png: img/%.dot
100101
dot -Tpng $^ > $@

0 commit comments

Comments
 (0)