3 ms·
I don't like writing manual HTML/CSS/JS, so I write Pug/Stylus/Coffeescript and generate the site with a Makefile that calls all the compilers. For example,
by vortico 7y ago
I don't like writing manual HTML/CSS/JS, so I write Pug/Stylus/Coffeescript and generate the site with a Makefile that calls all the compilers. For example,
SOURCES += $(shell find -name '*.pug')
OBJECTS += $(patsubst %.pug, %.html, $(filter %.pug, $(SOURCES)))
all: $(OBJECTS)
%.html: %.pug
pug -P $^