-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 807 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
37
##################################################
# Commands for build, deploy and test #
##################################################
#------- Boot and Delete development server -----#
up:
docker-compose build --parallel
COMPOSE_HTTP_TIMEOUT=200 docker-compose up
down:
docker-compose down -v
#------ Required for local devdependencies ------#
reinstall:
rm -rf frontend/node_modules
rm -rf backend/node_modules
yarn --cwd frontend
yarn --cwd backend
install:
yarn --cwd frontend
yarn --cwd backend
uninstall:
rm -rf frontend/node_modules
rm -rf backend/node_modules
#--------- Test code for repo standards ---------#
# Requires containers to be up:
testAcceptance:
yarn --cwd backend bdd
testFrontend:
yarn --cwd frontend test
testBackend:
yarn --cwd backend testLocal