-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTutorial05_AutomaticDocumentationInTheCloud.sh
executable file
·52 lines (33 loc) · 1.42 KB
/
Tutorial05_AutomaticDocumentationInTheCloud.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
#!/bin/bash
set -e;
#
source ./scripts/manageShellVars.sh;
source ./scripts/util.sh;
checkForVirtualMachine;
checkNotRoot;
export SUDOUSER=$(who am i | awk '{print $1}');
collectSectionNames;
setSection 5;
source "${BINDIR}/${SECTION}_functions.sh";
source ./scripts/explain.sh
RUN_RULE="";
explain ${BINDIR}/Introduction.md
explain ${BINDIR}/Try_jsDoc_from_the_Command_Line_A.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Try_jsDoc_from_the_Command_Line_A; fi;
explain ${BINDIR}/Try_jsDoc_from_the_Command_Line_B.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Try_jsDoc_from_the_Command_Line_B; fi;
RUN_RULE="";
explain ${BINDIR}/Configure_Sublime_Text_to_use_jsDoc.md # MANUAL_INPUT_REQUIRED
explain ${BINDIR}/Use_Sublime_Text_jsDoc_plugin_A.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Use_Sublime_Text_jsDoc_plugin_A; fi;
RUN_RULE="";
explain ${BINDIR}/Use_Sublime_Text_jsDoc_plugin_B.md # MANUAL_INPUT_REQUIRED
explain ${BINDIR}/Use_Sublime_Text_jsDoc_plugin_C.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Use_Sublime_Text_jsDoc_plugin_C; fi;
RUN_RULE="";
explain ${BINDIR}/Publish_jsDocs_toGitHub_A.md
explain ${BINDIR}/Publish_jsDocs_toGitHub_B.md MORE_ACTION # CODE_BLOCK
if [ "${RUN_RULE}" != "n" ]; then Publish_jsDocs_toGitHub_B; fi;
## FLAG FOR INCLUSION IN SLIDES - ${BINDIR}/Fin.md explain
endOfSectionScript ${SECTION_NUM} ${SECTION} ${NEXT_SECTION};
exit 0;