webseite/Makefile

31 lines
636 B
Makefile
Raw Normal View History

2019-02-12 17:45:44 +01:00
LEKTOR_SERVER_FLAGS=-h 127.0.0.1
all: build
sass:
2019-02-15 11:39:34 +01:00
sass -t compressed ./assets/sass/main.scss ./assets/css/main.min.css
sass -t compressed ./assets/sass/ie9.scss ./assets/css/ie9.min.css
rm ./assets/css/main.min.css.map
rm ./assets/css/ie9.min.css.map
2019-02-15 20:58:16 +01:00
lektor clean --yes
lektor build
2019-02-15 11:39:34 +01:00
sass-uncompressed:
sass ./assets/sass/main.scss ./assets/css/main.css
sass ./assets/sass/ie9.scss ./assets/css/ie9.css
rm ./assets/css/main.css.map
rm ./assets/css/ie9.css.map
2019-02-15 20:58:16 +01:00
lektor clean --yes
lektor build
2019-02-12 17:45:44 +01:00
install:
2019-03-06 13:25:48 +01:00
pip install lektor --user
gem install sass
2019-02-12 17:45:44 +01:00
build: sass
lektor build
server:
lektor server $(LEKTOR_SERVER_FLAGS)