test_dsl:
	nim c -r ./tests/t_gui_dsl.nim

test: test_dsl
	nim c -r ./tests/t_rect.nim
	nim c -r ./tests/t_event_to_observable.nim
	nim c -r ./tests/t_layout_tests.nim
	nim c -r ./tests/t_animations.nim
	nim c -r ./tests/t_element_observables.nim
	nim c -r ./tests/t_element_events.nim
	nim c -r ./tests/t_guid.nim
.PHONY: test_dsl test

docs:
	mkdir -p ./docs
	nim doc --project --index\:on --outdir:./docs/ --nimcache:./docs/ ./src/midio_ui.nim
	nim buildIndex -o:./docs/index.html docs
.PHONY: docs
