Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Sep 12, 2024
1 parent d46383a commit b452431
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ build:

test:
@dune runtest --no-buffer --force
test-autopromote:
@dune runtest --no-buffer --force --auto-promote

install: build
@dune install
Expand All @@ -22,7 +24,8 @@ update_next_tag:
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/*.ml) $(wildcard src/*.mli)

WATCH?="@all"
watch:
@dune build @all -w
@dune build $(WATCH) -w

.PHONY: all build test clean doc watch

0 comments on commit b452431

Please sign in to comment.