mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
30 lines
406 B
Makefile
30 lines
406 B
Makefile
include ../tools/node-install.mk
|
|
|
|
FRONTEND = "../frontend"
|
|
|
|
.PHONY: install
|
|
install:
|
|
yarn install
|
|
|
|
.PHONY: install-production
|
|
install-production:
|
|
yarn install --production --pure-lockfile
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@rm -rf node_modules
|
|
|
|
.PHONY: test
|
|
test:
|
|
@echo "No tests for backend"
|
|
|
|
.PHONY: app-install
|
|
app-install:
|
|
$(MAKE) -C $(FRONTEND) copy
|
|
|
|
install: app-install
|
|
|
|
.PHONY: start
|
|
start:
|
|
npm run start
|