-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.yaml
41 lines (41 loc) · 1.29 KB
/
scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
codegen: flutter pub run build_runner build --delete-conflicting-outputs
format: dart format --fix .
deps: flutter pub get
clean:
- flutter clean && flutter pub get
- dart scripts/pods_fix.dart
svg: dart run vector_graphics_compiler --input-dir assets/prompts
deploy:
hosting: flutter build web --web-renderer canvaskit && firebase deploy --only hosting
functions: firebase deploy --only functions
build:
web: flutter build web --web-renderer canvaskit
apk: flutter build apk --release
aab: flutter build appbundle --release
macos:
- dart scripts/pods_fix.dart
- flutter build macos
windows: flutter build windows
dmg:
- dart scripts/pods_fix.dart
- flutter build macos
- ./installers/dmg/create.sh
msix:
- dart ./installers/msix/setup_local.dart
- flutter pub run msix:create
- git restore pubspec.yaml
exe:
- dart scripts/windows/copy_icon.dart
- flutter_distributor package --platform windows --targets exe --artifact-name=PocketJenna
bundle:
dmg: ./installers/dmg/create.sh
msix:
local:
- dart ./installers/msix/setup_local.dart
- flutter pub run msix:create
- git restore pubspec.yaml
pod:
- cd macos && pod install
- cd ios && pod install
- dart scripts/pods_fix.dart
genicons: flutter pub run flutter_launcher_icons