forked from Strider-CD/strider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (23 loc) · 699 Bytes
/
Copy pathMakefile
File metadata and controls
36 lines (23 loc) · 699 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
build: less
@:
less_files := strider.less config.less
css_files := $(patsubst %.less,public/stylesheets/css/%.css,$(less_files))
less: $(css_files)
public/stylesheets/css/%.css: public/stylesheets/less/%.less
./node_modules/.bin/lessc $< > $@
watch:
watch make
serve:
@./bin/strider
test: lint
@./node_modules/.bin/mocha -R tap
@./node_modules/.bin/mocha -R tap test/functional/test.js
tolint := *.js *.json lib/middleware.js lib/models.js
lint:
@./node_modules/.bin/jshint $(tolint)
strider_sub := strider-env strider-simple-worker strider-python strider-sauce strider-custom
link:
npm link $(strider_sub)
unlink:
npm install $(strider_sub)
.PHONY: test lint watch build less