joyent-portal/backend/Makefile

28 lines
372 B
Makefile
Raw Normal View History

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