forked from mining/mining
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (30 loc) · 699 Bytes
/
Makefile
File metadata and controls
36 lines (30 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
.PHONY: test
test: pep8 clean
@coverage report
@nosetests mining/test
@$(which gulp.js)
.PHONY: tox-test
tox-test: environment
@tox
.PHONY: environment
environment:
@pip install -r requirements_dev.txt
@pip install -r requirements.txt
@pip install numexpr==2.3
@python setup.py develop
@npm install gulp gulp-jshint
@mv mining/mining.sample.ini mining/mining.ini
.PHONY: install
install:
@python setup.py install
.PHONY: pep8
pep8:
@flake8 mining --ignore=F403,F401,F812,E128
.PHONY: sdist
sdist: test
@python setup.py sdist upload
.PHONY: clean
clean:
@find ./ -name '*.pyc' -exec rm -f {} \;
@find ./ -name 'Thumbs.db' -exec rm -f {} \;
@find ./ -name '*~' -exec rm -f {} \;