mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
ea7dc679de
commit
de0380baf5
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ go mod download
|
|||
if grep -q "swag" go.mod; then
|
||||
echo "Found 'swag' in go.mod. Running swag init..."
|
||||
go install github.com/swaggo/swag/cmd/swag@latest
|
||||
swag init
|
||||
swag init --parseDependency
|
||||
fi
|
||||
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue