Added non interactive makefile option; fixed flags again

fixed another problem with the -data option, and added 'make headless'
for use in the dockerfile
This commit is contained in:
Harvey Tindall
2020-08-16 20:11:16 +01:00
parent 8750efe101
commit 8c4bd4541c
4 changed files with 17 additions and 3 deletions
+13
View File
@@ -12,6 +12,18 @@ sass:
echo "Compiling sass"
python3 scss/compile.py
sass-headless:
echo "Getting libsass"
python3 -m pip install libsass
echo "Getting node dependencies"
python3 scss/get_node_deps.py
echo "Compiling sass"
python3 scss/compile.py -y
mail-headless:
echo "Generating email html"
python3 mail/generate.py -y
mail:
echo "Generating email html"
python3 mail/generate.py
@@ -28,6 +40,7 @@ copy:
cp -r data build/
all: configuration sass mail compile copy
headless: configuration sass-headless mail-headless copy