mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-29 05:05:32 +08:00
fix: script for building the extension
This commit is contained in:
@@ -21,3 +21,8 @@ The first time you setup a development environment for this repository, follow t
|
||||
- `packages/app` which is the auth app, running at localhost:8080
|
||||
|
||||
For development instructions of specific packages, see the `README` in each package folder.
|
||||
|
||||
## Building browser extensions
|
||||
|
||||
1. From the root of this repository, in the command line, run `sh build-ext.sh`
|
||||
2. The extension will be packaged as `extension.zip` inside this folder.
|
||||
9
build-ext.sh
Normal file
9
build-ext.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
echo "🛠 Installing dependencies."
|
||||
yarn
|
||||
echo "🛠 Compiling extension."
|
||||
yarn lerna run prod:ext
|
||||
echo "🛠 Packaging Browser Extension"
|
||||
cd packages/app/dist
|
||||
zip -r ../../../extension.zip *
|
||||
echo "✅ Extension packaged as extension.zip"
|
||||
|
||||
Reference in New Issue
Block a user