Permalink
Browse files

Improve sandbox creation using makefile

  • Loading branch information...
1 parent d8fdda9 commit 9aa897ca2f2a84fd0d77cb1ab3e7d088d9b1ce5b @codeinthehole codeinthehole committed Sep 27, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 makefile
View
@@ -1,10 +1,11 @@
install:
- ./setup.py develop
- pip install -r requirements.txt
+ ./setup.py develop > /dev/null
+ pip install -r requirements.txt > /dev/null
test:
./runtests.py
sandbox: install
- sandbox/manage.py syncdb --noinput
- sandbox/manage.py loaddata sandbox/fixtures/users.json
+ [ -f sandbox/db.sqlite ] && rm sandbox/db.sqlite
+ sandbox/manage.py syncdb --noinput > /dev/null
+ sandbox/manage.py loaddata sandbox/fixtures/users.json countries.json > /dev/null

0 comments on commit 9aa897c

Please sign in to comment.