forked from Artificial-Pancreas/iAPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpJS.sh
executable file
·26 lines (23 loc) · 889 Bytes
/
cpJS.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
#!/bin/bash
#
# --- Copy and rename oref0/dist .js files to FreeAPS/Resources/javascript/bundle ---
#
# Launch this script by typing /bin/bash cpJS.sh
#
# or with rexcutable permission: ./cpJS.sh
#
# modify permission by typing chmod a+x cpJS.sh
#
# change directory variables as needed:
distDIR=~/Downloads/GitKraken/oref0/dist
bundleDIR=~/Downloads/GitKraken/iAPS/FreeAPS/Resources/javascript/bundle
cp -p -v $distDIR/autosens.js $bundleDIR/
cp -p -v $distDIR/autotuneCore.js $bundleDIR/autotune-core.js
cp -p -v $distDIR/autotunePrep.js $bundleDIR/autotune-prep.js
cp -p -v $distDIR/basalSetTemp.js $bundleDIR/basal-set-temp.js
cp -p -v $distDIR/determineBasal.js $bundleDIR/determine-basal.js
cp -p -v $distDIR/glucoseGetLast.js $bundleDIR/glucose-get-last.js
cp -p -v $distDIR/iob.js $bundleDIR/
cp -p -v $distDIR/meal.js $bundleDIR/
cp -p -v $distDIR/profile.js $bundleDIR/
exit