MANAGE_PY = python manage.py
+ROOT_DIR = xnet
+APPS = $(shell find $(ROOT_DIR) -name 'models.py' | sed 's,/models.py$$,,; s:.*/::')
default: all
$(MANAGE_PY) shell
test:
- $(MANAGE_PY) test example accounts site news
+ $(MANAGE_PY) test $(APPS)
resetdb:
rm -f xnet/db.sqlite