diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-02-17 18:24:06 +0100 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-02-17 18:24:06 +0100 |
commit | 3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20 (patch) | |
tree | 8dae648790510fb91406573f2ee0fe67af22dee1 /bin | |
parent | Update Bootstrap to 3.4.1 (diff) | |
download | tyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.tar.gz tyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.tar.bz2 tyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.zip |
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/run.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/run.sh b/bin/run.sh new file mode 100755 index 0000000..82e720a --- /dev/null +++ b/bin/run.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# POSIX sh, not bash! +die() { + set +x + echo "$*" 1>&2 + exit 1 +} +# export for debugging +[ "$DEBUG" == "1" ] && set -x +# go to volume +cd /repo +npm install || die "FAIL:${PWD}: npm install failed" +npm run dist || die "FAIL:${PWD}: npm run dist failed"
\ No newline at end of file |