mirror of
https://github.com/ivabus/pantry
synced 2024-11-09 18:15:18 +03:00
new file: projects/daytona.io/package.yml
This commit is contained in:
parent
d6f9cbfa6d
commit
ba8339c629
31
projects/daytona.io/package.yml
Normal file
31
projects/daytona.io/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
distributable:
|
||||
url: https://github.com/daytonaio/daytona/archive/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: daytonaio/daytona
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21
|
||||
script:
|
||||
go build $ARGS -ldflags="$LDFLAGS" ./cmd/daytona
|
||||
env:
|
||||
ARGS:
|
||||
- -trimpath
|
||||
- -o={{prefix}}/bin/daytona
|
||||
linux:
|
||||
ARGS:
|
||||
- -buildmode=pie
|
||||
LDFLAGS:
|
||||
- -s
|
||||
- -w
|
||||
- -X github.com/daytonaio/daytona/internal.Version={{version}}
|
||||
|
||||
provides:
|
||||
- bin/daytona
|
||||
|
||||
test:
|
||||
- daytona version | grep {{version}}
|
||||
- daytona help | grep 'Daytona is a Dev Environment Manager'
|
||||
- daytona completion bash | grep '__daytona_init_completion'
|
Loading…
Reference in a new issue