Skip to content

Commit

Permalink
chore: fixes and improves unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rvigo committed May 30, 2024
1 parent 9f6decf commit 62d4fd6
Show file tree
Hide file tree
Showing 15 changed files with 662 additions and 566 deletions.
74 changes: 69 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ log = "0.4.20"
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread", "sync"] }
cl-core = { path = "cl-core" }

# [dev-dependencies]
tempdir = "0.3.7"

[package]
name = "cl"
version.workspace = true
Expand All @@ -33,6 +36,7 @@ cl-gui = { path = "cl-gui" }
anyhow.workspace = true
tokio.workspace = true


[profile.release]
opt-level = 3
strip = "symbols"
Expand Down
3 changes: 3 additions & 0 deletions cl-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ tracing-appender = "0.2.2"
tracing-subscriber = "0.3"
once_cell = "1.19.0"
regex = "1.9.5"

[dev-dependencies]
tempdir.workspace = true
1 change: 1 addition & 0 deletions cl-core/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ impl Command {
|| new.command != self.command
|| new.description != self.description
|| new.tags != self.tags
|| new.namespace != self.namespace
}

fn is_incomplete(&self) -> bool {
Expand Down
Loading

0 comments on commit 62d4fd6

Please sign in to comment.