-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
72 lines (57 loc) · 1.49 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
export TIMEFORMAT=%3lR
FILES := short/*.scss
WTBIN=$(shell which wt)
SASSBIN=$(shell which sass)
SASSCBIN=$(shell which sassc)
test:
time ls >/dev/null
install:
git submodule update --init
npm install
@which sass
@which wt
clean:
-@rm build/*
-@rm -rf .sass-cache
echo:
@which sass
@which wt
wt: clean
@echo "\n======================"
@echo "wellington"
@echo "======================"
-time $(WTBIN) compile --sass-dir=multi --build=build $(FILES) >/dev/null
wtmulti: clean
@echo "\n======================"
@echo "multi-threaded wellington"
@echo "======================"
-time $(WTBIN) compile --multi --sass-dir=multi --build=build $(FILES) >/dev/null
post: clean
@echo "\n======================"
@echo "postcss -- Grab a coffee, this can take several minutes"
@echo "======================"
time gulp post >/dev/null
nodesass: clean
@echo "\n======================"
@echo "node-sass"
@echo "======================"
time gulp sass >/dev/null
ruby: clean
@echo "\n======================"
@echo "ruby sass"
@echo "======================"
-time $(SASSBIN) -C --sourcemap=none --update short:build >/dev/null
sassc: clean
@echo "\n======================"
@echo "sassc"
@echo "======================"
-time sh sassc.sh >/dev/null
compass: clean
@echo "\n======================"
@echo "compass"
@echo "======================"
-time compass compile --css-dir=build --sass-dir=short >/dev/null
$(MAKE) clean
bench: wt wtmulti sassc nodesass ruby compass post
create:
sh create.sh