diff options
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..124162c --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: + @echo "Supported commands:" + @echo + @echo " \033[1mmake deploy\033[0m - deploy to production" + @echo " \033[1mmake static\033[0m - build static locally" + @echo + +deploy: + ./deploy/deploy.sh + +static: build-js build-css static-config + +build-js: + ./deploy/build_js.sh -i ./htdocs/js -o ./htdocs/dist-js + +build-css: + ./deploy/build_css.sh -i ./htdocs/scss -o ./htdocs/dist-css + +static-config: + ./deploy/gen_static_config.php -i ./htdocs > ./config-static.php + +.PHONY: all deploy static
\ No newline at end of file |