From e60d9bed75a9fc386b081104b7f86abb7418f1a6 Mon Sep 17 00:00:00 2001 From: Kouhai Date: Sun, 22 Oct 2023 15:44:58 -0700 Subject: [PATCH] th: maybe this was a good idea after all --- bin/test.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bin/test.sh diff --git a/bin/test.sh b/bin/test.sh new file mode 100644 index 0000000000..f7e36b133e --- /dev/null +++ b/bin/test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -eux + +export NODE_ENV=production +export RAILS_ENV=production + +bundle exec rake assets:clobber +bundle exec rake assets:precompile + +export RAILS_ENV=test +bundle exec rake spec