chore: Added setup and extracted npm variable in makefile

This commit is contained in:
2023-03-07 22:51:42 +01:00
parent e55f2452dd
commit 3d8ae365a9
+8 -1
View File
@@ -1,10 +1,17 @@
NPM = npm
.PHONY: all
all: build-frontend build-backend
.PHONY: setup
setup:
mkdir -p out/frontend
mkdir -p out/backend
.PHONY: build-frontend
build-frontend:
npm run build
$(NPM) run build
.PHONY: build-backend
build-backend: