-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (27 loc) · 743 Bytes
/
Makefile
File metadata and controls
47 lines (27 loc) · 743 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SHELL := bash
PATH := bin:${PATH}
DATE := `date '+%Y%m%d'`
THIS_DIR:=$(shell pwd)
deps: node_modules/ src/files/assets/bower_components/
mkdir -p ~/tmp
bundle install
node_modules:
npm install
src/files/assets/bower_components:
bower install
compass:
compass watch --debug-info --trace
local:
node_modules/.bin/docpad-server --silent --offline
build: node_modules/ src/files/assets/bower_components/
compass compile -e production --force
node_modules/.bin/docpad-compile --env=production
static:
cd out/ && python -m SimpleHTTPServer 9778
package:
-mkdir -p archives/
rm -rf out/frontend-styleguide
tar cfz archives/static-${DATE}.tar.gz out/
lint:
node_modules/gulp/bin/gulp.js lint
.PHONY: build