Skip to content

Commit

Permalink
swagger-generate: Enable development on a variety of OS (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
aii-nozomu-oki authored and nluaces committed Jun 21, 2023
1 parent 6454f7c commit bb07624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/swagger-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ ! -f ./swagger ]; then
WORKDIR=`pwd`
( cd ${REMOTE_SOURCES_DIR:-}/swagger/app && go build -o ${WORKDIR}/swagger ./cmd/swagger/ )
else
download_url="https://github.com/go-swagger/go-swagger/releases/download/v0.30.2/swagger_linux_amd64"
download_url="https://github.com/go-swagger/go-swagger/releases/download/v0.30.2/swagger_$(go env GOOS)_$(go env GOARCH)"
curl -o ./swagger -L'#' "$download_url"
chmod +x ./swagger
fi
Expand Down

0 comments on commit bb07624

Please sign in to comment.