~kota/granola

granola/Makefile -rw-r--r-- 406 bytes
d134f8c6Dakota Walsh Change 405 to http.StatusMethodNotAllowed 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# granola
# See LICENSE for copyright and license details.
all: sass granola

granola:
	go build ./cmd/granola/ $(GOFLAGS)

sass:
	mkdir -p ui/static/css/
	sassc ui/sass/main.sass ui/static/css/main.css

clean:
	rm -f granola

watch:
	mkdir -p ui/static/css/
	find . -type f -not -path "*/.*" | entr -rs "sassc ui/sass/main.sass ui/static/css/main.css; go run ./cmd/granola/"

.PHONY: all sass clean watch