Add helpers.sh
This commit is contained in:
parent
dc9aaa12ba
commit
a10e24c3ef
10
helpers.sh
Executable file
10
helpers.sh
Executable 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
|
Loading…
Reference in a new issue