Skip to content

Commit

Permalink
make build: Dune workspace-friendly command
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Apr 19, 2023
1 parent 599efd5 commit da604f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
PACKAGES := dream-pure,dream-httpaf,dream

.PHONY : build
build :
@dune build -p dream-pure,dream-httpaf,dream --no-print-directory @install
@dune build --only-packages $(PACKAGES) --no-print-directory @install

.PHONY : watch
watch :
@dune build -p dream-pure,dream-httpaf,dream --no-print-directory -w
@dune build --only-packages $(PACKAGES) --no-print-directory -w

.PHONY : deps
deps :
Expand Down

0 comments on commit da604f1

Please sign in to comment.