X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;fp=Makefile;h=852b339901c07d737748388f429298ebf14a46e9;hb=75e788116303131b9869e1a1d32e94a99a15af97;hp=86cc29e3eeb4a69b2cbf10054619de8707c28093;hpb=9c2f24b0d98e75d55f7b8acab88215fadf80f92d;p=xnet diff --git a/Makefile b/Makefile index 86cc29e..852b339 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ MANAGE_PY = python manage.py +ROOT_DIR = xnet +APPS = $(shell find $(ROOT_DIR) -name 'models.py' | sed 's,/models.py$$,,; s:.*/::') default: all @@ -14,7 +16,7 @@ shell: $(MANAGE_PY) shell test: - $(MANAGE_PY) test example accounts site news + $(MANAGE_PY) test $(APPS) resetdb: rm -f xnet/db.sqlite