You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
328 B
Makefile
18 lines
328 B
Makefile
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-prod
|
|
|
|
clean:
|
|
rm -rf static
|
|
|
|
distclean: clean
|
|
rm -rf node_modules
|
|
|
|
.PHONY: all clean distclean
|