-
Notifications
You must be signed in to change notification settings - Fork 36
/
buildall.sh
executable file
·61 lines (56 loc) · 3.41 KB
/
buildall.sh
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# Should be kept in sync with ci.yml
# exit when any command fails
set -e
DIR=`pwd`
echo LESSON 2
cd $DIR/les02/libraries && yarn install && yarn build
cd $DIR/les02/unit-tests && yarn install && yarn build && yarn test
cd $DIR/les02/tic-tac-toe && yarn install && yarn build && yarn test
echo LESSON 3
cd $DIR/les03/puzzle15 && yarn install && yarn build && yarn test
cd $DIR/les03/spa-components-js && yarn install && yarn build
cd $DIR/les03/spa-components-react && yarn install && yarn build
cd $DIR/les03/spa-components-react-hooks && yarn install && yarn build
echo LESSON 4
cd $DIR/les04/connect4 && yarn install && yarn build && yarn test
cd $DIR/les04/state-lift-up && yarn install && yarn build
echo LESSON 5
cd $DIR/les05/games && yarn install && yarn build
cd $DIR/les05/spa-routing-index-404 && yarn install && yarn build
cd $DIR/les05/spa-routing-js && yarn install && yarn build
cd $DIR/les05/spa-routing-react && yarn install && yarn build
cd $DIR/les05/spa-routing-ssr && yarn install && yarn build
echo LESSON 6
cd $DIR/les06/weather && yarn install && yarn build
echo LESSON 8
cd $DIR/les08/server_client_separated/frontend && yarn install && yarn build
cd $DIR/les08/server_client_separated/rest && yarn install && yarn build && yarn test
cd $DIR/les08/server_client_together && yarn install && yarn build && yarn test
echo LESSON 9
cd $DIR/les09/authentication && yarn install && yarn build && yarn test
echo LESSON 10
cd $DIR/les10/xss/react-href && yarn install && yarn build
echo LESSON 11
cd $DIR/les11/chat/ajax && yarn install && yarn build
cd $DIR/les11/chat/server-side && yarn install
cd $DIR/les11/chat/websocket-full && yarn install && yarn build && yarn test
cd $DIR/les11/chat/websocket-rest && yarn install && yarn test
echo LESSON 12
cd $DIR/les12/connect4-v2 && yarn install && yarn build && yarn test
echo LESSON QUIZ-GAME
cd $DIR/exercise-solutions/quiz-game/part-02 && yarn install && yarn build
cd $DIR/exercise-solutions/quiz-game/part-03 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-04 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-05 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-06 && yarn install && yarn build
cd $DIR/exercise-solutions/quiz-game/part-08 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-09 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-10 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-11 && yarn install && yarn build && yarn test
cd $DIR/exercise-solutions/quiz-game/part-12 && yarn install && yarn build && yarn test
echo EXTRA
cd $DIR/extra-graphql/forum && yarn install && yarn build && yarn test
echo DEPENDENCIES
cd $DIR/dependencies && yarn install
echo BUILD COMPLETED SUCCESFULLY