From e6bd83a7a1d62631647715ad23ffdc05f2e8b3bb Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Tue, 13 Sep 2022 00:10:40 -0600 Subject: [PATCH] Create test helpers --- .envrc | 1 + tools/cram | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .envrc create mode 100755 tools/cram diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..e2f671d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +export PATH="$PATH:$(dirname $(realpath $1))/tools" diff --git a/tools/cram b/tools/cram new file mode 100755 index 0000000..686bc09 --- /dev/null +++ b/tools/cram @@ -0,0 +1,3 @@ +#!/bin/sh +bazel build //:cram &> /dev/null +exec "$(git rev-parse --show-toplevel)"/bazel-bin/cram "$@"