Skip to content
Snippets Groups Projects
Select Git revision
  • 79bde7d5544e705e68b626d3e109ae5d69a83cf7
  • master default protected
2 results

LICENSE

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    This project is licensed under the MIT License. Learn more
    Makefile 905 B
    SHELL = /bin/bash
    .PHONY: run test docs release install
    
    run:
    	# run an example simulation
    	if [ -d "example_results" ]; then rm -r example_results; fi
    	./run.jl -o example_results
    	#src/analysis/analyse_nature.R example_results
    
    test:
    	# running test suite
    	cd test; julia runtests.jl
    
    commit = $(shell git log --format="%cd (commit %h)" --date=short -1)
    
    docs:
    	# building documentation
    	# include a date stamp with the latest commit
    	sed -i -e "s/\*Last updated:.*/\*Last updated: ${commit}\*/" docs/src/index.md
    	cd docs; julia builddocs.jl
    
    profile:
    	# run and profile an example simulation
    	if [ -d "example_results" ]; then rm -r example_results; fi
    	./runprofile.jl -o example_results
    
    container:
    	#TODO create a Singularity container
    	echo "Not yet implemented (#43)"
    
    release:
    	echo "Not yet implemented."
    
    install:
    	#TODO install Julia and/or package dependencies?
    	echo "Not yet implemented."