-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 788 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 788 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
.PHONY: test setup-env install check clean tidy
test: env
env/bin/python ncc/main.py halt
env/bin/python ncc/main.py clean
nosetests -v
install:
pip install . --upgrade -r deps.txt
check:
pep8 --exclude env -r --ignore E111,E225,E501 .
pylint -d W0311 ncc
#pyflakes ncc
env:
pip install --upgrade -s -E env -r deps.txt
echo "Remember to run 'source env/bin/activate'"
setup-env:
pip install --upgrade -s -E env -r deps.txt
echo "Remember to run "source env/bin/activate"
clean:
find . -name "*.pyc" | xargs rm -f
rm -rf build ncc.egg-info dist
env/bin/python ncc/main.py halt
env/bin/python ncc/main.py clean
tidy: clean
rm -rf env
push:
echo "Not yet"
#rsync -avz -e ssh src Makefile dependencies.txt crawl.sh \
# nuxeo@styx.nuxeo.com:/var/www/home.nuxeo.org/