Add resetdb command.
[xnet] / Makefile
index 1230e3e..c0a4e20 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,3 +13,7 @@ run:
 
 test:
        $(MANAGE_PY) test example
+
+resetdb:
+       rm -f xnet/db.sqlite
+       $(MANAGE_PY) syncdb --noinput