1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/backend/Makefile

30 lines
406 B
Makefile
Raw Normal View History

2016-10-24 16:14:11 +03:00
include ../tools/node-install.mk
2016-10-24 17:52:46 +03:00
FRONTEND = "../frontend"
.PHONY: install
install:
yarn install
.PHONY: install-production
install-production:
yarn install --production --pure-lockfile
.PHONY: clean
clean:
@rm -rf node_modules
2016-10-20 15:36:24 +03:00
.PHONY: test
test:
2016-10-24 17:52:46 +03:00
@echo "No tests for backend"
.PHONY: app-install
app-install:
$(MAKE) -C $(FRONTEND) copy
install: app-install
.PHONY: start
start:
npm run start