forked from feedhq/feedhq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
57 lines (41 loc) · 960 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
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
proj = feedhq
django = python $(CURDIR)/manage.py
test:
@$(django) test --failfast --noinput
run:
@foreman start
db:
@$(django) syncdb --noinput
user:
@$(django) createsuperuser
shell:
@$(django) shell
dbshell:
@$(django) dbshell
updatefeeds:
@$(django) updatefeeds
favicons:
@$(django) favicons
makemessages:
@cd $(proj) && $(django) makemessages -a
compilemessages:
@cd $(proj) && $(django) compilemessages
txpush:
@tx push -s
txpull:
@tx pull -a
coverage:
@envdir tests/envdir coverage run `which django-admin.py` test
@coverage html
compress:
@cd $(proj)/core/static/core/js && closure \
--js fastclick.js \
--js jquery.min.js \
--js bootstrap-tooltip.js \
--js bootstrap-modal.js \
--js mousetrap.min.js \
--js highlight.min.js \
--js feedhq.js \
--js_output_file bundle.min.js
.PHONY: test run db user shell dbshell updatefeeds favicons \
makemessages compilemessages txpush txpull coverage compress