mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-05 23:30:19 +00:00
31 lines
676 B
Makefile
31 lines
676 B
Makefile
env:
|
|
python2.7 ./vendor/virtualenv-1.7.1.2.py \
|
|
--unzip-setuptools \
|
|
--prompt="[gittip] " \
|
|
--never-download \
|
|
--extra-search-dir=./vendor/ \
|
|
--distribute \
|
|
./env/
|
|
./env/bin/pip install -r requirements.txt
|
|
./env/bin/pip install ./vendor/nose-1.1.2.tar.gz
|
|
./env/bin/pip install -e ./
|
|
|
|
|
|
clean:
|
|
rm -rf env *.egg *.egg-info
|
|
find . -name \*.pyc -delete
|
|
|
|
run: env
|
|
./swaddle local.env ./env/bin/aspen \
|
|
--www_root=www/ \
|
|
--project_root=.. \
|
|
--show_tracebacks=yes \
|
|
--changes_reload=yes \
|
|
--network_address=:8537
|
|
|
|
test: env
|
|
./swaddle local.env ./env/bin/nosetests ./tests/
|
|
|
|
data: env
|
|
./swaddle local.env ./env/bin/python ./gittip/testing.py
|