Add helpers.sh

This commit is contained in:
Oliver Davies 2019-06-12 12:58:40 +01:00
parent dc9aaa12ba
commit a10e24c3ef

10
helpers.sh Executable file
View file

@ -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