|
@@ -9,32 +9,46 @@ fi
|
9
|
9
|
|
10
|
10
|
echo -e "\n${BROWN}/!\ ${NC}this script does not run 'npm install'\n${BROWN}/!\ ${NC}it also assumes your webpack dev server of frontend is running"
|
11
|
11
|
|
|
12
|
+# Tracim Lib
|
|
13
|
+
|
12
|
14
|
log "cd frontend_lib"
|
13
|
15
|
cd frontend_lib
|
14
|
16
|
log "npm run buildtracimlib$windoz"
|
15
|
17
|
npm run buildtracimlib$windoz
|
16
|
18
|
cd -
|
17
|
19
|
|
|
20
|
+# app Html Document
|
|
21
|
+
|
18
|
22
|
log "cd frontend_app_html-document"
|
19
|
23
|
cd frontend_app_html-document
|
|
24
|
+
|
20
|
25
|
log "npm run build$windoz # for frontend_app_html-document"
|
21
|
26
|
npm run build$windoz
|
|
27
|
+
|
22
|
28
|
log "cp dist/html-document.app.js"
|
23
|
29
|
cp dist/html-document.app.js ../frontend/dist/app
|
|
30
|
+
|
24
|
31
|
log "cp i18next.scanner/en/translation.json ../frontend/dist/app/tml-document_en_translation.json"
|
25
|
32
|
cp i18next.scanner/en/translation.json ../frontend/dist/app/html-document_en_translation.json
|
|
33
|
+
|
26
|
34
|
log "cp i18next.scanner/fr/translation.json ../frontend/dist/app/html-document_fr_translation.json"
|
27
|
35
|
cp i18next.scanner/fr/translation.json ../frontend/dist/app/html-document_fr_translation.json
|
28
|
36
|
cd -
|
29
|
37
|
|
|
38
|
+# app Thread
|
|
39
|
+
|
30
|
40
|
log "cd frontend_app_thread"
|
31
|
41
|
cd frontend_app_thread
|
|
42
|
+
|
32
|
43
|
log "npm run build$windoz # for frontend_app_thread"
|
33
|
44
|
npm run build$windoz
|
|
45
|
+
|
34
|
46
|
log "cp dist/thread.app.js"
|
35
|
47
|
cp dist/thread.app.js ../frontend/dist/app
|
|
48
|
+
|
36
|
49
|
log "cp i18next.scanner/en/translation.json ../frontend/dist/app/thread_en_translation.json"
|
37
|
50
|
cp i18next.scanner/en/translation.json ../frontend/dist/app/thread_en_translation.json
|
|
51
|
+
|
38
|
52
|
log "cp i18next.scanner/fr/translation.json ../frontend/dist/app/thread_fr_translation.json"
|
39
|
53
|
cp i18next.scanner/fr/translation.json ../frontend/dist/app/thread_fr_translation.json
|
40
|
54
|
cd -
|