From 9353449515ff6881a54ce6887297b7eab2855186 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 30 Apr 2016 11:17:50 +0200 Subject: Use scripty instead of writing shell commands in package.json --- scripts/clean/client/sass.sh | 5 +++++ scripts/clean/client/tsc.sh | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 scripts/clean/client/sass.sh create mode 100755 scripts/clean/client/tsc.sh (limited to 'scripts/clean/client') diff --git a/scripts/clean/client/sass.sh b/scripts/clean/client/sass.sh new file mode 100755 index 000000000..82c079f28 --- /dev/null +++ b/scripts/clean/client/sass.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +cd client || exit -1 +rm -f stylesheets/index.css +find angular -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \; diff --git a/scripts/clean/client/tsc.sh b/scripts/clean/client/tsc.sh new file mode 100755 index 000000000..775157a54 --- /dev/null +++ b/scripts/clean/client/tsc.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +cd client || exit -1 +find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; -- cgit v1.2.3