livyatan/melos.yaml

57 lines
1.3 KiB
YAML

name: livyatan
packages:
- packages/*
scripts:
analyze:
run: melos exec -- "flutter --no-pub --no-fatal-infos --no-congratulate --no-preamble"
description: Analyze packages
build:windows:
run: melos exec -- "flutter build windows"
description: Build Windows binary
packageFilters:
flutter: true
dirExists: "windows"
scope: "livyatan"
build:linux:
run: melos exec -- "flutter build linux"
description: Build Linux binary
packageFilters:
flutter: true
dirExists: "linux"
scope: "livyatan"
build:web:
run: melos exec -- "flutter build web"
description: Build web version
packageFilters:
flutter: true
dirExists: "web"
scope: "livyatan"
build:android:free:
run: melos exec -- "flutter build apk --flavor free"
description: Build free Android release APK
packageFilters:
flutter: true
dirExists: "android"
scope: "livyatan"
build:android:nonfree:
run: melos exec -- "flutter build apk --flavor nonfree"
description: Build non-free Android release APK
packageFilters:
flutter: true
dirExists: "android"
scope: "livyatan"
test:
run: flutter test --coverage --no-pub -r expanded
exec:
failFast: true
packageFilters:
dirExists: "test"