Skip to content

Commit

Permalink
refactor(dict): Prepare for more dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Oct 28, 2019
1 parent 03fa6f8 commit 8f428b8
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["codegen", "typos", "typos-dict"]
members = ["typos", "dict/typos", "dict/typos/codegen"]

[package]
name = "typos-cli"
Expand All @@ -24,7 +24,7 @@ codecov = { repository = "crate-ci/typos" }

[dependencies]
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"
structopt = "0.3"
clap = "2"
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stages:
steps:
- template: azure/install-rust.yml@templates
- 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
- stage: committed
displayName: Lint History
Expand Down
4 changes: 2 additions & 2 deletions typos-dict/Cargo.toml → dict/typos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.1"
authors = ["Ed Page <[email protected]>"]
description = "Source Code Spelling Correction"
repository = "https://github.com/crate-ci/typos"
readme = "../README.md"
readme = "../../README.md"
categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"]
license = "MIT"
Expand All @@ -15,7 +15,7 @@ azure-devops = { project = "crate-ci", pipeline = "typos" }
codecov = { repository = "crate-ci/typos" }

[dependencies]
typos = { version = "0.1", path = "../typos" }
typos = { version = "0.1", path = "../../typos" }
phf = { version = "0.8", features = ["unicase"] }
unicase = "2.5"
log = "0.4"
1 change: 1 addition & 0 deletions dict/typos/assets/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* linguist-vendored
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion codegen/Cargo.toml → dict/typos/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.0.1"
authors = ["Ed Page <[email protected]>"]
description = "Source Code Spelling Correction"
repository = "https://github.com/crate-ci/typos"
readme = "../README.md"
readme = "../../../README.md"
categories = ["text-processing"]
license = "MIT"
edition = "2018"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8f428b8

Please sign in to comment.