SOP = rsop
OFFLINE = 

all: sopass.html check

sopass.html: sopass.subplot sopass.yaml sopass.md
	subplot docgen sopass.subplot -o sopass.html

check:
	cargo clippy ${OFFLINE} --all-targets -- -Dwarnings
	cargo build ${OFFLINE} --all-targets
	cargo test ${OFFLINE} --all-targets
	cargo test ${OFFLINE} --doc
	cargo doc ${OFFLINE} --no-deps
	rm -f test.py test.log
	subplot codegen sopass.subplot -o test.py
	SOPASS_LOG=trace python3 test.py --log test.log
	rm -f test.py test.log
