From fc76359be11956f8514fc0dda1f66bb1c3397d26 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Jun 2016 22:34:39 +0200 Subject: Adapt npm scripts --- scripts/clean/client/dist.sh | 4 ++++ scripts/clean/client/sass.sh | 5 ----- scripts/clean/client/tsc.sh | 6 ------ 3 files changed, 4 insertions(+), 11 deletions(-) create mode 100755 scripts/clean/client/dist.sh delete mode 100755 scripts/clean/client/sass.sh delete mode 100755 scripts/clean/client/tsc.sh (limited to 'scripts/clean') diff --git a/scripts/clean/client/dist.sh b/scripts/clean/client/dist.sh new file mode 100755 index 000000000..2cbbf90dc --- /dev/null +++ b/scripts/clean/client/dist.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +cd client || exit -1 +rm -rf dist/ diff --git a/scripts/clean/client/sass.sh b/scripts/clean/client/sass.sh deleted file mode 100755 index 04d239ffc..000000000 --- a/scripts/clean/client/sass.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh - -cd client || exit -1 -rm -f stylesheets/index.css -find app -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \; diff --git a/scripts/clean/client/tsc.sh b/scripts/clean/client/tsc.sh deleted file mode 100755 index b17888640..000000000 --- a/scripts/clean/client/tsc.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env sh - -cd client || exit -1 -find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; -rm -rf ./bundles -rm -f main.js main.js.map -- cgit v1.2.3