-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathscripts.yaml
23 lines (23 loc) · 1001 Bytes
/
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
deps: flutter pub get
format: dart format --fix .
clean:
- flutter clean
- $deps
build:
- $deps
- $update_version
- flutter build web --web-renderer=canvaskit --csp --no-web-resources-cdn --dart-define="MODE=debug"
- rm -rf build/extension
- mv build/web build/extension
pack:
- $deps
- $update_version
- flutter build web -web-renderer=canvaskit --csp --no-web-resources-cdn
- cp LICENSE build/web
- cd build && zip -r pluto.zip web
app_icons: flutter pub run flutter_launcher_icons
codegen: flutter pub run build_runner build --delete-conflicting-outputs
generate_colors: dart scripts/generators/colors_generator.dart scripts/generators/colors.json lib/resources/flat_colors.dart
generate_gradients: dart scripts/generators/gradients_generator.dart scripts/generators/colors.json lib/resources/color_gradients.dart
gen_animated_logo: dart scripts/animated_logo_resizer.dart scripts/logo_animated_template.svg logo_animated.svg
update_version: dart scripts/update_version.dart