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:
|
||||
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