Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: improvements around extension packaging
- Loading branch information
Showing
11 changed files
with
1,893 additions
and
127 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
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,5 +1,5 @@ | ||
name: UX | ||
on: [push] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test_keychain: | ||
|
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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/sh | ||
echo "🛠 Installing dependencies." | ||
yarn | ||
echo "🛠 Building internal packages." | ||
yarn lerna run build --scope @stacks/connect-ui | ||
echo "🛠 Compiling extension." | ||
cd packages/app && yarn lerna run prod:ext | ||
yarn build:extension | ||
echo "🛠 Packaging Browser Extension" | ||
cd dist | ||
cd packages/app/dist | ||
TS=$(date +%Y)$(date +%m)010000 | ||
find -print | while read file; do | ||
touch -t $TS "$file" | ||
done | ||
zip -Xro /extension.zip * | ||
echo "✅ Extension packaged as extension.zip" | ||
DEFAULT_DEST="../../../connect-extension.zip" | ||
DEST=${1:-$DEFAULT_DEST} | ||
zip -Xro $DEST * | ||
echo "✅ Extension packaged as $(basename $DEST)" |
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
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
Oops, something went wrong.