Skip to content
Snippets Groups Projects
Select Git revision
  • f6e8b02624c56bc3128c15de2b870ea4a92c686f
  • master default protected
  • development
  • fix-missing-weatherdata
  • fix-eichsfeld-weather
  • marco-development
  • marco/dev-aquacrop
  • precompile-statements
  • precompile-tools
  • tmp-faster-loading
  • skylark
  • testsuite
  • code-review
  • v0.7.0
  • v0.6.1
  • v0.6.0
  • v0.5.5
  • v0.5.4
  • v0.5.3
  • v0.5.2
  • v0.2
  • v0.3.0
  • v0.4.1
  • v0.5
24 results

Makefile

Blame
  • Daniel Vedder's avatar
    xo30xoqa authored
    Closes #52
    71800e6b
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Makefile 699 B
    SHELL = /bin/bash
    .PHONY: run test docs release install
    
    run:
    	# running 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
    
    container:
    	echo "Not yet implemented (#43)"
    
    release:
    	echo "Not yet implemented."
    
    install:
    	echo "Not relevant. Use `julia run.jl` to run Persefone."