Skip to content

Commit

Permalink
Cleanup Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Mar 4, 2024
1 parent f5a2666 commit f416ee8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
project_name = regexp

DUNE = opam exec -- dune
opam_file = $(project_name).opam

.PHONY: help
help: ## Print this help message
Expand Down Expand Up @@ -39,9 +36,6 @@ test-watch: ## Run the unit tests in watch mode
test-promote: ## Updates snapshots and promotes it to correct
$(DUNE) build @runtest --auto-promote

.PHONY: deps
deps: $(opam_file) ## Alias to update the opam file and install the needed deps

.PHONY: format
format: ## Format the codebase with ocamlformat
$(DUNE) build @fmt --auto-promote
Expand All @@ -65,18 +59,6 @@ install: ## Install dependencies
.PHONY: init
init: setup-githooks create-switch install ## Create a local dev enviroment

.PHONY: ppx-test
ppx-test: ## Run ppx tests
$(DUNE) runtest ppx

.PHONY: ppx-test-watch
ppx-test-watch: ## Run ppx tests in watch mode
$(DUNE) runtest ppx --watch

.PHONY: lib-test
lib-test: ## Run library tests
$(DUNE) exec test/test.exe

.PHONY: demo
demo: ## Run demo executable
$(DUNE) exec demo/index.exe \
Expand Down

0 comments on commit f416ee8

Please sign in to comment.