-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 769 Bytes
/
Makefile
File metadata and controls
32 lines (24 loc) · 769 Bytes
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
# Copyright 2015, Truveris Inc. All Rights Reserved.
all: output
output: venv css
rm -rf output
git clone --branch master git@github.com:truveris/truveris.github.io.git output
venv/bin/python bin/blog gen -f site/ output/
serve: venv
venv/bin/python bin/blog serve -f site/ -p 8889
venv:
virtualenv venv
venv/bin/pip install https://github.com/truveris/pygreen/archive/master.zip
venv/bin/pip install python-dateutil
publish: output
git -C output/ add . || true
git -C output/ commit -m "sync output" || true
git -C output/ push
clean:
rm -rf output
css:
scss --no-cache --unix-newlines --style=compressed \
site/lib/scss/style.scss \
> site/lib/css/style.css.tmp
mv site/lib/css/style.css.tmp site/lib/css/style.css
.PHONY: output clean serve