Switch to LessCSS #102

Manually merged
Darks merged 2 commits from lesscss into dev 2021-07-14 16:42:13 +02:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit 1112decbd0 - Show all commits

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
CSSC := lessc
src := $(wildcard app/static/less/*.less)
obj := $(src:app/static/less/%.less=app/static/css/%.css)
run: css
@flask run
css: $(obj)
app/static/css/%.css: app/static/less/%.less
$(CSSC) $< $@
.PHONY: css run