From e5faec6a917c4f7a3ebbb2cec72a912f0bdd5e79 Mon Sep 17 00:00:00 2001 From: "Scott J. Goldman" Date: Thu, 18 Jan 2024 10:53:42 -0800 Subject: [PATCH] +overmind (#4887) * +overmind adds the overmind package * fix(overmind): adjust ldflags to fix linux build * fix(overmind): oops - it should work on arm linux too * cleanup --------- Co-authored-by: Jacob Heider --- .../github.com/darthsim/overmind/package.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/github.com/darthsim/overmind/package.yml diff --git a/projects/github.com/darthsim/overmind/package.yml b/projects/github.com/darthsim/overmind/package.yml new file mode 100644 index 00000000..cc70d2a6 --- /dev/null +++ b/projects/github.com/darthsim/overmind/package.yml @@ -0,0 +1,29 @@ +distributable: + url: https://github.com/DarthSim/overmind/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +display-name: overmind + +versions: + github: darthsim/overmind + +dependencies: + github.com/tmux/tmux: "*" + +build: + dependencies: + go.dev: ">=1.21" + script: go build -v -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/overmind + env: + CGO_ENABLED: 0 + LDFLAGS: + - -s + - -w + linux: + LDFLAGS: + - -buildmode=pie + +provides: + - bin/overmind + +test: test "$(overmind --version)" = "Overmind version {{version}}"