-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consolidating firefox and chrome and opera versions, moving back to '…
…main'
- Loading branch information
Showing
6 changed files
with
64 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="build bex firefox" type="js.build_tools.npm" nameIsGenerated="true"> | ||
<package-json value="$PROJECT_DIR$/package.json" /> | ||
<command value="run" /> | ||
<scripts> | ||
<script value="build bex firefox" /> | ||
</scripts> | ||
<node-interpreter value="project" /> | ||
<envs /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
VERSION="$1" | ||
if [ $# -eq 0 ] | ||
then | ||
echo "run with 'chrome', 'firfox', 'edge' or 'opera' as parameter" | ||
exit | ||
fi | ||
|
||
if [ "$1" = "chrome" ]; then | ||
manifest="manifest-chrome.json" | ||
elif [ "$1" = "firefox" ]; then | ||
manifest="manifest-firefox.json" | ||
elif [ "$1" = "edge" ]; then | ||
manifest="manifest-edge.json" | ||
elif [ "$1" = "opera" ]; then | ||
manifest="manifest-opera.json" | ||
fi | ||
|
||
echo "using manifest src-bex/$manifest and .dev.env" | ||
mv src-bex/manifest.json src-bex/manifest.tmp | ||
mv .env .env.tmp | ||
|
||
cp src-bex/$manifest src-bex/manifest.json | ||
cp .dev.env .env | ||
|
||
quasar build -m bex | ||
|
||
echo "output folder dist/bex-$1" | ||
cp -R dist/bex/ "dist/bex-$1/" | ||
|
||
mv src-bex/manifest.tmp src-bex/manifest.json | ||
mv .env.tmp .env |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
VERSION="$1" | ||
if [ $# -eq 0 ] | ||
then | ||
echo "run with foldername" | ||
exit | ||
fi | ||
|
||
cp -r dist/bex "dist/$1" | ||
|
||
exit 0 |
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
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