diff --git a/Makefile b/Makefile index 9075bc3..4eb5452 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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 \ No newline at end of file