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