-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
52 lines (46 loc) · 1.37 KB
/
Copy pathTaskfile.yaml
File metadata and controls
52 lines (46 loc) · 1.37 KB
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
44
45
46
47
48
49
50
51
52
version: "3"
tasks:
flutter:get:
desc: Get flutter dependencies
summary: |
Get flutter dependencies
cmds:
- flutter pub get
dart:gen:
desc: Generate dart files
summary: |
Run codegen
cmds:
- dart run build_runner build --delete-conflicting-outputs
dart:gen:watch:
desc: Generate dart files
summary: |
Watch codegen
cmds:
- dart run build_runner watch --delete-conflicting-outputs
# Template-related, safe to be removed for production
tmpl:rename:
desc: Rebrand the template (display name, app id, Dart package)
summary: |
Rewrites the display name, application/bundle id, and Dart package name
across Android, iOS, web, l10n, and docs in one pass.
Usage: task tmpl:rename -- --name "My App" --id com.company.app
cmds:
- dart run tool/rename_app.dart {{.CLI_ARGS}}
tmpl:init:
desc: Initialize template for development
summary: |
Initialize template for development.
Safe to be deleted for production.
deps:
- tmpl:git:config
cmds:
- flutter create .
tmpl:git:config:
desc: Configure git for template development
summary: |
Configure git for template development.
Safe to be deleted for production.
cmds:
- git config core.excludesfile .gitignore-dev
# Template-related, safe to be removed for production