Skip to content
Snippets Groups Projects
Select Git revision
  • cc2675e357a7f8b7502d493804561a33b409868e
  • master default protected
  • beta
  • dev
  • andrewssobral-patch-1
  • update
  • thomas-fork
  • 2.0
  • v3.2.0
  • v3.1.0
  • v3.0
  • bgslib_py27_ocv3_win64
  • bgslib_java_2.0.0
  • bgslib_console_2.0.0
  • bgslib_matlab_win64_2.0.0
  • bgslib_qtgui_2.0.0
  • 2.0.0
  • bgs_console_2.0.0
  • bgs_matlab_win64_2.0.0
  • bgs_qtgui_2.0.0
  • v1.9.2_x86_mfc_gui
  • v1.9.2_x64_java_gui
  • v1.9.2_x86_java_gui
23 results

run_demo.bat

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Makefile 846 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:
    	echo "Not yet implemented (#43)"
    
    release:
    	echo "Not yet implemented."
    
    install:
    	echo "Not relevant. Use `julia run.jl` to run Persefone."