This commit is contained in:
2024-05-09 18:02:44 -05:00
parent ea7dc679de
commit de0380baf5

View File

@@ -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 .