Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed May 13, 2022
1 parent 9045b08 commit e16b874
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ dependencies:
slang_flutter: <version> # also add this if you use flutter

dev_dependencies:
build_runner: <version> # if you use build_runner command (1/2)
slang_build_runner: <version> # if you use build_runner command (2/2)
build_runner: <version> # if you use build_runner (1/2)
slang_build_runner: <version> # if you use build_runner (2/2)
```
**Step 2: Create JSON files**
Expand Down
4 changes: 2 additions & 2 deletions slang/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies:
slang_flutter: <version> # also add this if you use flutter

dev_dependencies:
build_runner: <version> # if you use build_runner command (1/2)
slang_build_runner: <version> # if you use build_runner command (2/2)
build_runner: <version> # if you use build_runner (1/2)
slang_build_runner: <version> # if you use build_runner (2/2)
# fast_i18n: 5.12.3 (removed)
```

Expand Down
4 changes: 2 additions & 2 deletions slang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ dependencies:
slang_flutter: <version> # also add this if you use flutter

dev_dependencies:
build_runner: <version> # if you use build_runner command (1/2)
slang_build_runner: <version> # if you use build_runner command (2/2)
build_runner: <version> # if you use build_runner (1/2)
slang_build_runner: <version> # if you use build_runner (2/2)
```
**Step 2: Create JSON files**
Expand Down
5 changes: 2 additions & 3 deletions slang_build_runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ dev_dependencies:
slang_build_runner: <version>
```
The `build.yaml` file should be already in the correct format.
The `build.yaml` file should be in the correct format.

```yaml
targets:
$default:
builders:
slang:
slang_build_runner:
options:
base_locale: en
# other options
```

The generate command:
Expand Down

0 comments on commit e16b874

Please sign in to comment.