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