2024-04-15 01:30:58 +02:00
|
|
|
#!/bin/sh
|
2024-04-19 00:34:22 +02:00
|
|
|
SourceApps="SpiderADB WuppiMini"
|
|
|
|
HubSdkApps="$(SourceApps) Ecoji MatrixStickerHelper"
|
|
|
|
|
|
|
|
rm -vrf ./public || true
|
|
|
|
cp -vr ./static ./public
|
|
|
|
cp -vr ./shared ./public/shared
|
|
|
|
|
|
|
|
for App in $(SourceApps)
|
2024-04-15 01:30:58 +02:00
|
|
|
do
|
|
|
|
mkdir -p ./public/${App}
|
2024-04-19 00:34:22 +02:00
|
|
|
cd ./source/${App}
|
2024-04-17 01:30:25 +02:00
|
|
|
sh ./Requirements.sh
|
2024-04-15 01:30:58 +02:00
|
|
|
cp -r $(sh ./Build.sh) ../../public/${App}/
|
|
|
|
cd ../..
|
|
|
|
done
|
2024-04-19 00:34:22 +02:00
|
|
|
|
2024-04-15 01:30:58 +02:00
|
|
|
cd ./public
|
|
|
|
node ../WriteRedirectPages.js
|
2024-04-19 00:34:22 +02:00
|
|
|
|
|
|
|
for App in $(HubSdkApps)
|
|
|
|
do
|
|
|
|
echo # TODO write manifest.json files
|
|
|
|
done
|