-
Notifications
You must be signed in to change notification settings - Fork 5
/
scripts.yaml
43 lines (42 loc) · 1.28 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
42
43
codegen: flutter pub run build_runner build --delete-conflicting-outputs
format: dart format --fix .
clean:
- flutter clean && flutter pub get
- dart scripts/pods_fix.dart
build:
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=TargetMate
bundle:
dmg: ./installers/dmg/create.sh
msix:
local:
- dart ./installers/msix/setup_local.dart
- flutter pub run msix:create
- git restore pubspec.yaml
pod:
clean:
- cd macos && rm -rf Pods && rm -rf Podfile.lock && rm -rf .symlinks
- cd ios && rm -rf Pods && rm -rf Podfile.lock && rm -rf .symlinks
install:
- cd macos && pod install
- cd ios && pod install
update:
- cd macos && pod repo update
- cd ios && pod repo update
genicons: flutter pub run flutter_launcher_icons
check-notarized: spctl -a -vvv -t install TargetMate.app