aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-17 18:24:06 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-17 18:24:06 +0100
commit3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20 (patch)
tree8dae648790510fb91406573f2ee0fe67af22dee1 /bin
parentUpdate Bootstrap to 3.4.1 (diff)
downloadtyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.tar.gz
tyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.tar.bz2
tyrian-theme-3df5f6291e56ebc50831e8e8c1bf5fa0aecd7b20.zip
Restructure the project for usage with npm/yarnv1.0.0tyrian-v1
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/run.sh13
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