diff options
| -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 \ | 
