Skip to content

Commit

Permalink
create make file for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
avelino committed Jan 5, 2015
1 parent daa9e12 commit 09a9093
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
.PHONY: test
test: pep8 clean
@coverage report
@nosetests mining/test
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 --exclude=mining/assets

.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 {} \;

0 comments on commit 09a9093

Please sign in to comment.