mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
df74eca47a
commit
22850bab1e
1 changed files with 6 additions and 8 deletions
|
@ -9,10 +9,9 @@ versions:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.19
|
go.dev: ^1.19
|
||||||
script: |
|
linux/aarch64:
|
||||||
mkdir -p "{{ prefix }}"/bin
|
gnu.org/binutils: ^2 # wants ld.gold
|
||||||
go build -ldflags="$LDFLAGS" ./cmd/elvish
|
script: go build -ldflags="$LDFLAGS" -o "{{ prefix }}/bin/elvish" ./cmd/elvish
|
||||||
mv elvish "{{ prefix }}"/bin
|
|
||||||
env:
|
env:
|
||||||
LDFLAGS:
|
LDFLAGS:
|
||||||
- -s
|
- -s
|
||||||
|
@ -23,10 +22,9 @@ build:
|
||||||
LDFLAGS:
|
LDFLAGS:
|
||||||
- -buildmode=pie
|
- -buildmode=pie
|
||||||
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/elvish
|
- bin/elvish
|
||||||
|
|
||||||
test: |
|
test:
|
||||||
test "$(elvish --version)" = "{{version}}"
|
- test "$(elvish --version)" = "{{version}}"
|
||||||
test "$(elvish -c 'echo hello')" = "hello"
|
- test "$(elvish -c 'echo hello')" = "hello"
|
||||||
|
|
Loading…
Reference in a new issue