mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
refactor: Follow monorepo pattern elsewhere
This commit is contained in:
parent
04837f0bfd
commit
814ff82aff
39 changed files with 12 additions and 12 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -1,10 +1,10 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"typos",
|
||||
"dict/typos", "dict/typos/codegen",
|
||||
"dict/codespell", "dict/codespell/codegen",
|
||||
"dict/misspell", "dict/misspell/codegen",
|
||||
"dict/wikipedia", "dict/wikipedia/codegen",
|
||||
"crates/typos",
|
||||
"crates/typos-dict", "crates/typos-dict/codegen",
|
||||
"crates/codespell-dict", "crates/codespell-dict/codegen",
|
||||
"crates/misspell-dict", "crates/misspell-dict/codegen",
|
||||
"crates/wikipedia-dict", "crates/wikipedia-dict/codegen",
|
||||
]
|
||||
|
||||
[package]
|
||||
|
@ -29,8 +29,8 @@ azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|||
codecov = { repository = "crate-ci/typos" }
|
||||
|
||||
[dependencies]
|
||||
typos = { version = "^0.3", path = "typos" }
|
||||
typos-dict = { version = "^0.2", path = "dict/typos" }
|
||||
typos = { version = "^0.3", path = "crates/typos" }
|
||||
typos-dict = { version = "^0.2", path = "crates/typos-dict" }
|
||||
phf = { version = "0.8", features = ["unicase"] }
|
||||
unicase = "2.5"
|
||||
anyhow = "1.0"
|
||||
|
|
|
@ -28,16 +28,16 @@ stages:
|
|||
steps:
|
||||
- template: install-rust.yml@templates
|
||||
- script: |
|
||||
cargo run --package typos-codegen -- --output dict/typos/src/dict_codegen.rs --check
|
||||
cargo run --package typos-codegen -- --output crates/typos-dict/src/dict_codegen.rs --check
|
||||
displayName: Verify typos-dict
|
||||
- script: |
|
||||
cargo run --package codespell-codegen -- --output dict/codespell/src/dict_codegen.rs --check
|
||||
cargo run --package codespell-codegen -- --output crates/codespell-dict/src/dict_codegen.rs --check
|
||||
displayName: Verify codespell-dict
|
||||
- script: |
|
||||
cargo run --package misspell-codegen -- --output dict/misspell/src/dict_codegen.rs --check
|
||||
cargo run --package misspell-codegen -- --output crates/misspell-dict/src/dict_codegen.rs --check
|
||||
displayName: Verify misspell-dict
|
||||
- script: |
|
||||
cargo run --package wikipedia-codegen -- --output dict/wikipedia/src/dict_codegen.rs --check
|
||||
cargo run --package wikipedia-codegen -- --output crates/wikipedia-dict/src/dict_codegen.rs --check
|
||||
displayName: Verify wikipedia-dict
|
||||
- stage: committed
|
||||
displayName: Lint History
|
||||
|
|
|
@ -28,4 +28,4 @@ fn main() {
|
|||
}
|
||||
";
|
||||
|
||||
pub const CORPUS: &str = include_str!("../dict/typos/assets/words.csv");
|
||||
pub const CORPUS: &str = include_str!("../crates/typos-dict/assets/words.csv");
|
||||
|
|
Can't render this file because it is too large.
|
Loading…
Reference in a new issue