Makefile
raw| 1 | DUNE ?= dune |
| 2 | |
| 3 | all: |
| 4 | @$(DUNE) build |
| 5 | |
| 6 | test: |
| 7 | @$(DUNE) runtest |
| 8 | |
| 9 | check: |
| 10 | @$(DUNE) build @runtest @check |
| 11 | |
| 12 | .PHONY: check test all clean |
| 13 | |
| 14 | .PHONY: release |
| 15 | release: ## Release on Opam |
| 16 | dune-release distrib --skip-build --skip-lint --skip-tests |
| 17 | dune-release publish distrib --verbose |
| 18 | dune-release opam pkg |
| 19 | dune-release opam submit |