Browse Source

added npm link to build script

Skylsmoi 6 years ago
parent
commit
50747645dc
1 changed files with 6 additions and 0 deletions
  1. 6 0
      build_tracim_frontend.sh

+ 6 - 0
build_tracim_frontend.sh View File

9
 cd frontend_lib
9
 cd frontend_lib
10
 log "npm i"
10
 log "npm i"
11
 npm i
11
 npm i
12
+log "npm link"
13
+npm link
12
 log "npm run buildtracimlib"
14
 log "npm run buildtracimlib"
13
 npm run buildtracimlib
15
 npm run buildtracimlib
14
 cd -
16
 cd -
17
 cd frontend_app_html-document
19
 cd frontend_app_html-document
18
 log "npm i"
20
 log "npm i"
19
 npm i
21
 npm i
22
+log "npm link tracim_frontend_lib"
23
+npm link tracim_frontend_lib
20
 log "npm run build # for frontend_app_html-document"
24
 log "npm run build # for frontend_app_html-document"
21
 npm run build
25
 npm run build
22
 log "cp dist/html-document.app.js"
26
 log "cp dist/html-document.app.js"
27
 cd frontend
31
 cd frontend
28
 log "npm i"
32
 log "npm i"
29
 npm i
33
 npm i
34
+log "npm link tracim_frontend_lib"
35
+npm link tracim_frontend_lib
30
 log "npm run servdev-dashboard # for frontend"
36
 log "npm run servdev-dashboard # for frontend"
31
 npm run servdev-dashboard
37
 npm run servdev-dashboard