summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2017-01-03 18:58:52 -0200
committerBruno Wagner <bwagner@riseup.net>2017-01-03 18:58:52 -0200
commit8e2f0852f173aca560f71e871ceab1d471a8b206 (patch)
treef27fa74ffa1da437ae93e7814f194b3dcd2310b3 /Makefile
parentcb21017d3affd6ff51c47de36913311206c865df (diff)
Moved bower install to npm post_install
Also fixed some indentation errors on the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index cdd5e85c..61203118 100644
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,7 @@ install_py: service/requirements.txt service/test_requirements.txt
requirements_js:
@echo "Installing javascript npm and bower dependencies"
@cd web-ui;\
- npm install;\
- node_modules/.bin/bower install
+ npm install
.PHONY: install_js
install_js:
@@ -43,7 +42,7 @@ create_virtualenv: ensure_virtualenv_installed
echo "Pixelated virtualenv doesn't exist, creating now";\
virtualenv --python=python2 $(VIRTUALENV);\
else\
- echo "Pixelated virtualenv already exists, moving on";\
+ echo "Pixelated virtualenv already exists, moving on";\
fi
.PHONY: test
@@ -91,7 +90,7 @@ unit_tests_py:
unit_tests_js:
@echo "Running javascript unit tests"
@cd web-ui;\
- npm run test
+ npm run test
.PHONY: integration_tests_py
integration_tests:
@@ -119,7 +118,7 @@ ensure_virtualenv_installed:
@if [ ! `which virtualenv` ]; then\
exit 1;\
else\
- echo "Virtualenv located at "`which virtualenv`;\
+ echo "Virtualenv located at "`which virtualenv`;\
fi
.PHONY: clean
@@ -134,8 +133,8 @@ clean_all: clean remove_javascript_packages remove_virtualenv
clean_py:
rm -rf service/_trial_temp
find . -name "*.pyc" -delete
- @source $(VIRTUALENV)/bin/activate;\
rm -rf service/.coverage
+ rm -rf service/htmlcov
.PHONY: clean_js
clean_js: