-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa9ac94
commit a072922
Showing
3 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "src/modules"] | ||
path = src/modules | ||
url = https://github.com/AppiumTestDistribution/device-farm-pro.git | ||
[submodule "dashboard-frontend"] | ||
path = dashboard-frontend | ||
url = https://github.com/AppiumTestDistribution/appium-dashboard.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
cd appium-dashboard | ||
npm install --force | ||
npm run build | ||
cd .. | ||
rm -rf src/public | ||
mkdir src/public | ||
cp -R ./appium-dashboard/dist/* src/public/ | ||
echo "Build date - `date` by `whoami`" > src/public/version.txt | ||
if [ -d "dashboard-web" ]; then | ||
# shellcheck disable=SC2164 | ||
cd dashboard-frontend | ||
npm install --force | ||
npm run build | ||
# shellcheck disable=SC2103 | ||
cd .. | ||
rm -rf src/public | ||
mkdir src/public | ||
cp -R ./dashboard-frontend/dist/* src/public/ | ||
echo "Build date - `date` by `whoami`" > src/public/version.txt | ||
else | ||
echo "Directory dashboard-web does not exist." | ||
fi |
Submodule dashboard-frontend
added at
95681b