mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
refactor(dict): Prepare for more dicts
This commit is contained in:
parent
03fa6f8b8a
commit
8f428b8fec
13 changed files with 7 additions and 7 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1 +0,0 @@
|
||||||
typos-dict/assets/* linguist-vendored
|
|
|
@ -1,5 +1,5 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["codegen", "typos", "typos-dict"]
|
members = ["typos", "dict/typos", "dict/typos/codegen"]
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "typos-cli"
|
name = "typos-cli"
|
||||||
|
@ -24,7 +24,7 @@ codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
typos = { version = "0.1", path = "typos" }
|
typos = { version = "0.1", path = "typos" }
|
||||||
typos-dict = { version = "0.1", path = "typos-dict" }
|
typos-dict = { version = "0.1", path = "dict/typos" }
|
||||||
failure = "0.1"
|
failure = "0.1"
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
clap = "2"
|
clap = "2"
|
||||||
|
|
|
@ -25,7 +25,7 @@ stages:
|
||||||
steps:
|
steps:
|
||||||
- template: azure/install-rust.yml@templates
|
- template: azure/install-rust.yml@templates
|
||||||
- script: |
|
- script: |
|
||||||
cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
|
cargo run --package typos-codegen -- --input dict/typos/assets/words.csv --output dict/typos/src/dict_codegen.rs --check
|
||||||
displayName: Verify Code-gen
|
displayName: Verify Code-gen
|
||||||
- stage: committed
|
- stage: committed
|
||||||
displayName: Lint History
|
displayName: Lint History
|
||||||
|
|
|
@ -4,7 +4,7 @@ version = "0.1.1"
|
||||||
authors = ["Ed Page <eopage@gmail.com>"]
|
authors = ["Ed Page <eopage@gmail.com>"]
|
||||||
description = "Source Code Spelling Correction"
|
description = "Source Code Spelling Correction"
|
||||||
repository = "https://github.com/crate-ci/typos"
|
repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -15,7 +15,7 @@ azure-devops = { project = "crate-ci", pipeline = "typos" }
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
typos = { version = "0.1", path = "../typos" }
|
typos = { version = "0.1", path = "../../typos" }
|
||||||
phf = { version = "0.8", features = ["unicase"] }
|
phf = { version = "0.8", features = ["unicase"] }
|
||||||
unicase = "2.5"
|
unicase = "2.5"
|
||||||
log = "0.4"
|
log = "0.4"
|
1
dict/typos/assets/.gitattributes
vendored
Normal file
1
dict/typos/assets/.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* linguist-vendored
|
Can't render this file because it is too large.
|
|
@ -4,7 +4,7 @@ version = "1.0.1"
|
||||||
authors = ["Ed Page <eopage@gmail.com>"]
|
authors = ["Ed Page <eopage@gmail.com>"]
|
||||||
description = "Source Code Spelling Correction"
|
description = "Source Code Spelling Correction"
|
||||||
repository = "https://github.com/crate-ci/typos"
|
repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../README.md"
|
readme = "../../../README.md"
|
||||||
categories = ["text-processing"]
|
categories = ["text-processing"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2018"
|
edition = "2018"
|
Loading…
Reference in a new issue