From 55ff07e4285ced4258284f7643b7dfdba3d99bca Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 23 Oct 2023 00:36:24 +0300 Subject: [PATCH] new file: projects/github.com/xeol-io/xeol/package.yml (#3762) --- projects/github.com/xeol-io/xeol/package.yml | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/github.com/xeol-io/xeol/package.yml diff --git a/projects/github.com/xeol-io/xeol/package.yml b/projects/github.com/xeol-io/xeol/package.yml new file mode 100644 index 00000000..fbb785a2 --- /dev/null +++ b/projects/github.com/xeol-io/xeol/package.yml @@ -0,0 +1,24 @@ +distributable: + url: https://github.com/xeol-io/xeol/archive/v{{version}}.tar.gz + strip-components: 1 +versions: + github: xeol-io/xeol +build: + dependencies: + go.dev: '*' + script: + - go build $GO_ARGS -ldflags="$LD_FLAGS" ./cmd/xeol + env: + GO_ARGS: + - -trimpath + - -o="{{prefix}}/bin/xeol" + LD_FLAGS: + - -s + - -w + - -X main.version={{version}} + - -X main.buildDate=$(date -u +"%Y-%m-%dT%H:%M:%SZ") +provides: + - bin/xeol +test: + script: + - xeol version | grep {{version}}