-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
36 lines (31 loc) · 891 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##################################################
# Commands for build, deploy and test #
##################################################
#------- Boot and Delete development server -----#
up:
docker-compose up --build
down:
docker-compose down -v
#------ Required for local devdependencies ------#
install-deps:
npm install --prefix frontend
npm install --prefix backend
uninstall-deps:
rm -rf frontend/node_modules
rm -rf backend/node_modules
#--------- Test code for repo standards ---------#
test:
npm run --prefix frontend test
npm run --prefix backend test
test-frontend:
npm run --prefix frontend test
test-backend:
npm run --prefix backend test
#--- Required code linting for repo standards --#
lint:
npm run --prefix frontend lint
npm run --prefix backend lint
lint-frontend:
npm run --prefix frontend lint
lint-backend:
npm run --prefix backend lint