Skip to content

Commit 9c9448f

Browse files
authored
Merge pull request #512 from stevvooe/fix-makefile
Makefile: address problems with updating deps
2 parents 0ff14aa + c29a55a commit 9c9448f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ test:
9797
update-deps:
9898
@which glide > /dev/null 2>/dev/null || (echo "ERROR: glide not found. Consider 'make install.tools' target" && false)
9999
glide update --strip-vcs --strip-vendor --update-vendored --delete
100-
glide-vc --only-code --no-tests
100+
glide-vc --only-code --no-tests --use-lock-file
101101
# see http://sed.sourceforge.net/sed1line.txt
102-
find vendor -type f -exec sed -i -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;
102+
find vendor -type f -exec sed -i="" -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;
103103

104104
img/%.png: img/%.dot
105105
dot -Tpng $^ > $@
@@ -120,13 +120,13 @@ endif
120120
install.tools: .install.gitvalidation .install.glide .install.glide-vc
121121

122122
.install.gitvalidation:
123-
go get github.com/vbatts/git-validation
123+
go get -u github.com/vbatts/git-validation
124124

125125
.install.glide:
126-
go get github.com/Masterminds/glide
126+
go get -u github.com/Masterminds/glide
127127

128128
.install.glide-vc:
129-
go get github.com/sgotti/glide-vc
129+
go get -u github.com/sgotti/glide-vc
130130

131131
clean:
132132
rm -rf *~ $(OUTPUT_DIRNAME)

0 commit comments

Comments
 (0)