From 784a17b82a045a9b5e9ba7f7049fe6cf931f4f60 Mon Sep 17 00:00:00 2001 From: thetek42 Date: Sat, 3 Apr 2021 11:30:08 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20compiler=20for=20vanilla=20html/css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/compile.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 ui/compile.sh diff --git a/ui/compile.sh b/ui/compile.sh new file mode 100755 index 0000000..1c9f009 --- /dev/null +++ b/ui/compile.sh @@ -0,0 +1,19 @@ +#! /bin/bash + +### compile to regular html and css + +# compile pug +pug raw/index.pug -o html +echo "dnswatch + + + +" | cat - html/index.html > temp +mv temp html/index.html +echo "" >> html/index.html + +# compile sass +sass raw/index.sass html/index.css + +# move js +cp raw/*.js html