reorganize build scripts
This commit is contained in:
+9
-8
@@ -67,18 +67,19 @@ melos:
|
||||
format:
|
||||
description: Format all Dart files in the workspace
|
||||
exec: dart format .
|
||||
build-browser:
|
||||
description: Run all preparation scripts and build APK + App Bundle
|
||||
update-assets:
|
||||
description: Download external assets (bangs, bridges, URL lists)
|
||||
run: bash scripts/update-assets.sh
|
||||
build-components:
|
||||
description: Build JS components and generate quotes DB
|
||||
run: |
|
||||
set -e
|
||||
echo "=== Running preparation scripts ==="
|
||||
sh scripts/build-container-proxy.sh
|
||||
sh scripts/build-readability.sh
|
||||
bash scripts/download_bangs.sh
|
||||
python3 scripts/build_quotes_db.py
|
||||
sh scripts/update-bridges.sh
|
||||
sh scripts/update-url-cleaner-catalog.sh
|
||||
sh scripts/update-url-shorteners.sh
|
||||
echo "=== Building APK ==="
|
||||
build-browser:
|
||||
description: Build release APK split per ABI
|
||||
run: |
|
||||
set -e
|
||||
cd app
|
||||
flutter build apk --release --target-platform android-arm,android-arm64 --split-per-abi --no-tree-shake-icons
|
||||
|
||||
Reference in New Issue
Block a user