Skip to content

Commit e496dc7

Browse files
authored
docs: add asdf and GitHub Actions installations (#560)
## What does this change? Add asdf and GitHub Actions installations on README. - [FlutterGen/asdf-fluttergen](https://github.com/FlutterGen/asdf-fluttergen) - [FlutterGen/setup-fluttergen](https://github.com/FlutterGen/setup-fluttergen) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] This change requires a documentation update ## Checklist: Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests (`melos run test`) - [x] Ensure the analyzer and formatter pass (`melos run format` to automatically apply formatting) - [x] Appropriate docs were updated (if necessary)
1 parent a1c15a8 commit e496dc7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ Works with macOS and Linux.
6161
brew install FlutterGen/tap/fluttergen
6262
```
6363

64+
### asdf
65+
66+
Works with macOS and Linux.
67+
asdf-fluttergen is compatible with [mise](https://mise.jdx.dev/).
68+
69+
```sh
70+
# add plugin
71+
asdf plugin add fluttergen
72+
# or
73+
asdf plugin add fluttergen https://github.com/FlutterGen/asdf-fluttergen.git
74+
75+
# install fluttergen
76+
asdf install fluttergen latest
77+
```
78+
79+
See also: [FlutterGen/asdf-fluttergen](https://github.com/FlutterGen/asdf-fluttergen)
80+
6481
### Pub Global
6582

6683
Works with macOS, Linux and Windows.
@@ -93,6 +110,18 @@ flutter pub get
93110
dart run build_runner build
94111
```
95112

113+
### GitHub Actions
114+
115+
Works with macOS and Linux.
116+
117+
```yaml
118+
- uses: FlutterGen/setup-fluttergen@v1
119+
with:
120+
version: ${{ fluttergen_version }}
121+
```
122+
123+
See also: [FlutterGen/setup-fluttergen](https://github.com/FlutterGen/setup-fluttergen)
124+
96125
## Usage
97126
98127
Run `fluttergen` after the configuration [`pubspec.yaml`](https://dart.dev/tools/pub/pubspec).

0 commit comments

Comments
 (0)