-
Notifications
You must be signed in to change notification settings - Fork 4
/
Tutorial08_RealWorldPackage.sh
executable file
·94 lines (66 loc) · 1.87 KB
/
Tutorial08_RealWorldPackage.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/bin/bash
set -e;
#
source ./scripts/manageShellVars.sh;
source ./scripts/util.sh;
declare NONSTOP="nonstop";
checkForVirtualMachine;
checkNotRoot;
export SUDOUSER=$(who am i | awk '{print $1}');
collectSectionNames;
setSection 8;
source "${BINDIR}/${SECTION}_functions.sh";
source ./scripts/explain.sh
RUN_RULE="";
explain ${BINDIR}/Introduction.md
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Another_NodeJS_moduleA.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
explain ${BINDIR}/Another_NodeJS_moduleB.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Another_NodeJS_moduleB; fi;
echo ""
echo ""
explain ${BINDIR}/Another_NodeJS_moduleC.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Another_NodeJS_moduleC; fi;
echo ""
echo ""
explain ${BINDIR}/Async_Problem_Buried_Methods.md
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Async_Problem_Wrapped_Proxy_A.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Async_Problem_Wrapped_Proxy_B.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Async_Problem_Sync_Namespace.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Async_Problem_TinyTest_A.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Call_Into_Package_Methods.md MORE_ACTION # CODE_BLOCK MANUAL_INPUT_REQUIRED
if [ "${RUN_RULE}" != "n" ]; then Call_Into_Package_Methods; fi;
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Package_Dependencies.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
RUN_RULE="";
explain ${BINDIR}/Declare_Callable_Method.md # MANUAL_INPUT_REQUIRED
echo ""
echo ""
explain ${BINDIR}/View_and_Hide_The_Example.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then View_and_Hide_The_Example; fi;
## FLAG FOR INCLUSION IN SLIDES - ${BINDIR}/Fin.md explain
endOfSectionScript ${SECTION_NUM} ${SECTION} ${NEXT_SECTION};
exit 0;