summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-16 17:30:28 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-16 17:30:28 +0200
commit78afefd0d60d9a7cf5502efa267af6dabb7458ab (patch)
treeb57c284030e536fd47dff24147b6d554248ecf8b /Makefile.example
parent83248f4ce9eb27f6c0670897cefc65fa017f5d75 (diff)
downloadIshtar-78afefd0d60d9a7cf5502efa267af6dabb7458ab.tar.bz2
Ishtar-78afefd0d60d9a7cf5502efa267af6dabb7458ab.zip
Makefile: auth fixture and help
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example32
1 files changed, 31 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example
index 72651a38c..32bf03f9a 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -11,6 +11,31 @@ default_data='fr'
url='ishtar.example.com'
project_name='Test'
+help:
+ # Actions available:
+ # * clean: remove temporary files
+ # * update:
+ # * test:
+ # * pep8:
+ # * pylint:
+ # * fresh_syncdb:
+ # * syncdb:
+ # * shell:
+ # * makemessages:
+ # * compilemessages:
+ # * schemamigrations:
+ # * schemamigrations_initial:
+ # * generate_doc:
+ # * fixtures:
+ # * fixtures_*:
+ # * translations_push:
+ # * translations_pull:
+ # * readme_md_to_rst:
+ # * sdist:
+ # * distribute_test:
+ # * distribute_main:
+ # * deb:
+
clean:
-rm -rf *~*
-find . -name '*.pyc' -exec rm {} \;
@@ -118,7 +143,12 @@ generate_doc:
done
rm /tmp/ishtar.dot
-fixtures: fixtures_common fixtures_operations fixtures_archaeological_context_records fixtures_archaeological_finds fixtures_archaeological_warehouse fixtures_archaeological_files
+fixtures: fixtures_auth fixtures_common fixtures_operations fixtures_archaeological_context_records fixtures_archaeological_finds fixtures_archaeological_warehouse fixtures_archaeological_files
+
+fixtures_auth:
+ cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \
+ auth.group \
+ > '../fixtures/initial_data-auth-'$(default_data)'.json'
fixtures_common: fixtures_common_importers fixtures_common_towns
cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \