From 62b814df99242da8d54165e937f7f38ea3228331 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:26:06 +0200 Subject: [PATCH] +microcks.io (#5232) * new file: projects/microcks.io/microcks-cli/package.yml * microcks.io/microcks-cli => microcks.io --- projects/microcks.io/package.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/microcks.io/package.yml diff --git a/projects/microcks.io/package.yml b/projects/microcks.io/package.yml new file mode 100644 index 00000000..73ccd865 --- /dev/null +++ b/projects/microcks.io/package.yml @@ -0,0 +1,31 @@ +distributable: + url: git+https://github.com/microcks/microcks-cli.git + ref: ${{version.tag}} + +versions: + github: microcks/microcks-cli + +dependencies: + curl.se/ca-certs: '*' + +build: + dependencies: + go.dev: ^1.21 + script: + go build $ARGS -ldflags="$LDFLAGS" . + env: + ARGS: + - -trimpath + - -o={{prefix}}/bin/microcks-cli + linux: + ARGS: + - -buildmode=pie + LDFLAGS: + - -s + - -w + +provides: + - bin/microcks-cli + +test: + microcks-cli version | grep {{version}}