diff options
| 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 | 
| commit | 78afefd0d60d9a7cf5502efa267af6dabb7458ab (patch) | |
| tree | b57c284030e536fd47dff24147b6d554248ecf8b | |
| parent | 83248f4ce9eb27f6c0670897cefc65fa017f5d75 (diff) | |
| download | Ishtar-78afefd0d60d9a7cf5502efa267af6dabb7458ab.tar.bz2 Ishtar-78afefd0d60d9a7cf5502efa267af6dabb7458ab.zip  | |
Makefile: auth fixture and help
| -rw-r--r-- | Makefile.example | 32 | 
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 \  | 
