-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
sync_modules.sh
executable file
·40 lines (31 loc) · 1.3 KB
/
sync_modules.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
#!/usr/bin/env bash
rm -rf src/3rd/
mkdir -p src/3rd/bootstrap/js/
rsync -avP node_modules/bootstrap/dist/js/bootstrap.min.js* \
src/3rd/bootstrap/js/
mkdir -p src/3rd/bootstrap/css/
rsync -avP node_modules/bootstrap/dist/css/bootstrap.min.css* \
src/3rd/bootstrap/css/
mkdir -p src/3rd/bootstrap-icons
rsync -avP node_modules/bootstrap-icons/font/bootstrap-icons.css \
src/3rd/bootstrap-icons
mkdir -p src/3rd/bootstrap-icons/fonts
rsync -avP node_modules/bootstrap-icons/font/fonts/ \
src/3rd/bootstrap-icons/fonts
mkdir -p src/3rd/wavesurfer.js
rsync -avP node_modules/wavesurfer.js/dist/wavesurfer.min.js* \
src/3rd/wavesurfer.js
mkdir -p src/3rd/wavesurfer.js/plugin
rsync -avP node_modules/wavesurfer.js/dist/plugin/wavesurfer.timeline.min.js* \
node_modules/wavesurfer.js/dist/plugin/wavesurfer.regions.min.js* \
node_modules/wavesurfer.js/dist/plugin/wavesurfer.minimap.min.js* \
src/3rd/wavesurfer.js/plugin
mkdir -p src/3rd/localforage
rsync -avP node_modules/localforage/dist/localforage.min.js \
src/3rd/localforage
mkdir -p src/3rd/jsoneditor
rsync -avP node_modules/jsoneditor/dist/jsoneditor.min.js \
node_modules/jsoneditor/dist/jsoneditor.min.css \
node_modules/jsoneditor/dist/jsoneditor.map \
node_modules/jsoneditor/dist/img \
src/3rd/jsoneditor