From ba8339c629dc169e3c644464ebc95a1decf3a9f9 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Mon, 11 Mar 2024 17:06:15 +0200 Subject: [PATCH] new file: projects/daytona.io/package.yml --- projects/daytona.io/package.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/daytona.io/package.yml diff --git a/projects/daytona.io/package.yml b/projects/daytona.io/package.yml new file mode 100644 index 00000000..f3236adb --- /dev/null +++ b/projects/daytona.io/package.yml @@ -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'