Skip to content

Commit

Permalink
change!: Remove lean plumbing CLI (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 5, 2021
1 parent 4d2d433 commit 51bf03f
Show file tree
Hide file tree
Showing 14 changed files with 74 additions and 577 deletions.
30 changes: 0 additions & 30 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ git-repository = { version ="^0.13.0", path = "git-repository", default-features
git-transport-for-configuration-only = { package = "git-transport", optional = true, version ="^0.14.0", path = "git-transport" }

clap = { version = "=3.0.0-beta.5", optional = true }
argh = { version = "0.1.5", optional = true, default-features = false }
prodash = { version = "16.0.0", optional = true, default-features = false }
atty = { version = "0.2.14", optional = true, default-features = false }
env_logger = { version = "0.9.0", optional = true, default-features = false, features = ["humantime", "termcolor", "atty"] }
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ audit: ## run various auditing tools to assure we are legal and safe

doc: ## Run cargo doc on all crates
cargo doc
cargo doc --features=max,lean,light,small
cargo doc --features=max,lean,small

clippy: ## Run cargo clippy on all crates
cargo clippy --all --tests
Expand Down
9 changes: 2 additions & 7 deletions src/plumbing-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ fn main() -> Result<()> {
plumbing::pretty::main()
}

#[cfg(all(feature = "lean-cli", not(feature = "pretty-cli")))]
fn main() -> Result<()> {
plumbing::lean::main()
}

#[cfg(not(any(feature = "pretty-cli", feature = "lean-cli")))]
compile_error!("Please set 'lean-cli' or 'pretty-cli' feature flags");
#[cfg(not(feature = "pretty-cli"))]
compile_error!("Please set 'pretty-cli' feature flag");
226 changes: 0 additions & 226 deletions src/plumbing/lean/main.rs

This file was deleted.

3 changes: 0 additions & 3 deletions src/plumbing/lean/mod.rs

This file was deleted.

Loading

0 comments on commit 51bf03f

Please sign in to comment.