File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -35,24 +35,24 @@ to re-work some of it and the discouragement that goes along with that.
35
35
36
36
Format: ` typo,correction[,correction...] `
37
37
38
- 2 . Verify your change
38
+ 2 . Code-gen the dictionary
39
39
40
40
Run
41
- ``` bash
42
- cargo run --package typos-dict-verify -- --input crates/typos-dict/assets/words.csv --output crates/typos-dict/assets/words.csv
41
+ ``` console
42
+ $ SNAPSHOTS=overwrite cargo test --workspace
43
43
```
44
- Auto-cleans up your change according to some rules we have like:
45
- - Don't prefer specific dialects in the dictionary, leaving those to [ ` varcon ` ] ( http://wordlist.aspell.net/varcon-readme/ ) .
46
- - Mixing up corrections and typos
47
- - etc
44
+ (we do development-time code-gen to speed up builds)
48
45
49
- 3 . Code-gen the dictionary
46
+ 3 . Verify your change
50
47
51
48
Run
52
- ``` bash
53
- cargo run --package typos-dict-codegen -- --output crates/typos-dict/src/dict_codegen.rs
49
+ ``` console
50
+ $ cargo test --workspace
54
51
```
55
- (we do development-time code-gen to speed up builds)
52
+ Auto-cleans up your change according to some rules we have like:
53
+ - Don't prefer specific dialects in the dictionary, leaving those to [ ` varcon ` ] ( http://wordlist.aspell.net/varcon-readme/ ) .
54
+ - Mixing up corrections and typos
55
+ - etc
56
56
57
57
### Process
58
58
You can’t perform that action at this time.
0 commit comments