mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
parent
f8ca792f68
commit
5bbc9e3cc7
1 changed files with 5 additions and 2 deletions
|
@ -15,7 +15,7 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21
|
||||
go.dev: ^1.22
|
||||
npmjs.com: '*'
|
||||
nodejs.org: '*'
|
||||
script:
|
||||
|
@ -23,7 +23,10 @@ build:
|
|||
- npm run build
|
||||
- go mod download
|
||||
- go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
||||
- GOOS=js GOARCH=wasm go build -trimpath -ldflags="-s -w" -o ${BUILDLOC}.wasm tidbyt.dev/pixlet
|
||||
# removed in 0.33.1
|
||||
# https://github.com/tidbyt/pixlet/pull/1070
|
||||
- run: GOOS=js GOARCH=wasm go build -trimpath -ldflags="-s -w" -o ${BUILDLOC}.wasm tidbyt.dev/pixlet
|
||||
if: <0.33.1
|
||||
env:
|
||||
BUILDLOC: '{{prefix}}/bin/pixlet'
|
||||
LDFLAGS:
|
||||
|
|
Loading…
Reference in a new issue