Skip to content

Commit

Permalink
feat(make): add run-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobslisboa committed Apr 17, 2024
1 parent c6b3835 commit 13340d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ build:
dev:
$(DUNE) build -w @all

.PHONY: build-prod
build-prod:
$(DUNE) build --profile=prod @all

.PHONY: clean
clean:
$(DUNE) clean
Expand Down Expand Up @@ -51,6 +55,11 @@ run: build
yarn webpack
_build/default/src/server/server.exe

.PHONY: run-prod
run-prod: build-prod
yarn webpack --env production
_build/default/src/server/server.exe

.PHONY: server
server: build
$(DUNE) exec src/server/server.exe

0 comments on commit 13340d6

Please sign in to comment.