refactor: Follow monorepo pattern elsewhere

This commit is contained in:
Ed Page committed 2020-07-04 20:52:47 -05:00
1 parent 04837f0bfd
commit 814ff82aff
39 files changed
+12 -12

No files matched your search

+7 -7
View File
@@ -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"
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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");
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Can't render this file because it is too large.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.