Skip to content

Commit

Permalink
fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
cktan committed Apr 20, 2020
1 parent abdbe6c commit 0feceb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/s3pool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ REV := $(shell git rev-parse --short HEAD)

all:
echo '// THIS FILE IS GENERATED BY Makefile. DO NOT MODIFY. ' > conf/rev.go
echo "package conf\nvar Revision = \"$(REV)\"\n" >> conf/rev.go
echo "package conf" >> conf/rev.go
echo "var Revision = \"$(REV)\"" >> conf/rev.go
GOPATH=$(GOPATH) go get .
GOPATH=$(GOPATH) go build .

Expand Down

0 comments on commit 0feceb8

Please sign in to comment.