Use %gobuild macro more.
This commit is contained in:
parent
1df9caa5a9
commit
ed4665e337
@ -122,12 +122,9 @@ popd
|
||||
|
||||
# Build test executables
|
||||
for go in test/cmd/*.go; do
|
||||
go build -o "bin/$(basename $go .go)" "$go"
|
||||
%gobuild -o "bin/$(basename $go .go)" "$go"
|
||||
done
|
||||
go build -o "bin/git-lfs-test-server-api" \
|
||||
"test/git-lfs-test-server-api/main.go" \
|
||||
"test/git-lfs-test-server-api/testdownload.go" \
|
||||
"test/git-lfs-test-server-api/testupload.go"
|
||||
%{gobuild} -o "bin/git-lfs-test-server-api" "test/git-lfs-test-server-api/*.go"
|
||||
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user