@robotical/martyblocks 1.4.20 → 1.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.min.js +3 -3
- package/martyBlocksCliProfile +8 -0
- package/package.json +1 -1
package/martyBlocksCliProfile
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export PhoneAppHome=/Users/nikolastheodoropoulos/Documents/Robotical/phone-app/marty-react-native # <- replace this if you want to use the buildAllAndCpToWebApp function, which builds everything and copies the build files in the phoneapp
|
|
1
2
|
export WebappHome=/Users/nikolastheodoropoulos/Documents/Robotical/marty-web-app # <- replace this if you want to use the buildAllAndCpToWebApp function, which builds everything and copies the build files in the webapp
|
|
2
3
|
export MBHome=/Users/nikolastheodoropoulos/Documents/Robotical/MartyBlocks # <- replace this
|
|
3
4
|
|
|
@@ -94,6 +95,13 @@ cpToWebapp () {
|
|
|
94
95
|
cp -r $gui_original/build/* $WebappHome/public/MartyBlocks
|
|
95
96
|
}
|
|
96
97
|
|
|
98
|
+
cpToPhoneApp () {
|
|
99
|
+
rm -rf $PhoneAppHome/assets/www/scratch-build/*
|
|
100
|
+
rm -rf $PhoneAppHome/node_modules/@robotical/martyblocks/dist/*
|
|
101
|
+
cp -r $gui_original/build/* $PhoneAppHome/assets/www/scratch-build/
|
|
102
|
+
cp -r $gui_original/build/* $PhoneAppHome/node_modules/@robotical/martyblocks/dist
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
cpToDist () {
|
|
98
106
|
cdhome
|
|
99
107
|
rm -rf dist/*
|