Skip to content

Commit

Permalink
Fixing xtask
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Jan 25, 2022
1 parent 1e70889 commit 37c9f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name = "xtask"
version = "0.1.0"
edition = "2018"
publish = false

[dependencies]
khonsu-tools = { git="https://github.com/khonsulabs/khonsu-tools.git", branch="main" }
structopt = "0.3"
khonsu-tools = { git = "https://github.com/khonsulabs/khonsu-tools.git", branch = "main" }
6 changes: 2 additions & 4 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
use khonsu_tools::{
universal::{anyhow, DefaultConfig},
universal::{anyhow, DefaultConfig, clap::Parser},
Commands,
};
use structopt::StructOpt;

fn main() -> anyhow::Result<()> {
let command = Commands::from_args();
command.execute::<Config>()
Commands::parse().execute::<Config>()
}

enum Config {}
Expand Down

0 comments on commit 37c9f96

Please sign in to comment.