From a10e24c3efe64b42ef6b7e4d700fa388eaf48d79 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 12 Jun 2019 12:58:40 +0100 Subject: [PATCH] Add helpers.sh --- helpers.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 helpers.sh diff --git a/helpers.sh b/helpers.sh new file mode 100755 index 00000000..78b034ea --- /dev/null +++ b/helpers.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +OPERATION=$1 +shift +ARGS=$* + +case ${OPERATION} in + "sculpin-watch") vendor/bin/sculpin generate --clean --no-interaction --server --watch $ARGS;; + "yarn-watch") yarn run watch $ARGS;; +esac