Add Makefile

main
Jan Dittberner 2 years ago
parent 5cbcbefac6
commit 0ebdbbb4da

@ -0,0 +1,17 @@
RESULT = static/css/cacert.bundle.css static/js/cacert.bundle.js
SOURCES = $(shell find frontend_src -type f) webpack.config.js package.json
YARN = /usr/bin/yarnpkg
all: $(RESULT)
$(RESULT): $(SOURCES)
$(YARN)
$(YARN) run build
clean:
rm -rf static
distclean: clean
rm -rf node_modules
.PHONY: all clean distclean
Loading…
Cancel
Save