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