From d491f1b5c1d2e20b85309ccf34fc778d950dc3f2 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Thu, 27 Jan 2022 10:08:43 +1100 Subject: [PATCH] Helper scripts for on-the-fly running chroma{,d}. --- bin/chroma | 5 +++++ bin/chromad | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 bin/chroma create mode 100755 bin/chromad diff --git a/bin/chroma b/bin/chroma new file mode 100755 index 0000000..b88aa96 --- /dev/null +++ b/bin/chroma @@ -0,0 +1,5 @@ +#!/bin/bash + +set -euo pipefail + +(cd cmd/chroma ; go build -o $TMPDIR/chroma .) && exec $TMPDIR/chroma "$@" diff --git a/bin/chromad b/bin/chromad new file mode 100755 index 0000000..2620c98 --- /dev/null +++ b/bin/chromad @@ -0,0 +1,5 @@ +#!/bin/bash + +set -euo pipefail + +(cd cmd/chromad ; go build -o $TMPDIR/chromad .) && exec $TMPDIR/chromad "$@"