forked from concourse/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (21 loc) · 777 Bytes
/
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
objects = js/search.js css/booklit.css css/blog.css css/prism.css css/pipeline.css blog/concourse.zip
all: $(objects)
.PHONY: clean
clean:
rm -f $(objects)
js/search.js: elm/Search.elm elm/Query.elm
yarn run elm make --output $@ $^
css/booklit.css: less/booklit.less less/*.less
yarn run lessc $< $@
css/blog.css: less/blog.less less/*.less
yarn run lessc $< $@
css/prism.css: less/prism.less less/*.less
yarn run lessc $< $@
css/pipeline.css: less/pipeline.less
yarn run lessc $< $@
blog/concourse.zip: blog/package.json blog/*.hbs css/*.css images/* blog/partials/*.hbs
cp css/*.css blog/assets/css/
cp js/prism.js blog/assets/js/
cp -r images/* blog/assets/images/
yarn run gscan ./blog
cd blog && zip -r concourse.zip package.json *.hbs assets partials