mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
f8ca792f68
commit
5bbc9e3cc7
|
@ -15,7 +15,7 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.21
|
go.dev: ^1.22
|
||||||
npmjs.com: '*'
|
npmjs.com: '*'
|
||||||
nodejs.org: '*'
|
nodejs.org: '*'
|
||||||
script:
|
script:
|
||||||
|
@ -23,7 +23,10 @@ build:
|
||||||
- npm run build
|
- npm run build
|
||||||
- go mod download
|
- go mod download
|
||||||
- go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
- 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:
|
env:
|
||||||
BUILDLOC: '{{prefix}}/bin/pixlet'
|
BUILDLOC: '{{prefix}}/bin/pixlet'
|
||||||
LDFLAGS:
|
LDFLAGS:
|
||||||
|
|
Loading…
Reference in a new issue