Skip to content

Commit

Permalink
Bump xtask to ~1.1 (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr authored Oct 18, 2024
1 parent eaf50e6 commit b9cb9bf
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 40 deletions.
71 changes: 34 additions & 37 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features
# cubecl-common = { version="0.2.0", default-features = false }

### For xtask crate ###
tracel-xtask = { version = "~1.0" }
tracel-xtask = { version = "~1.1" }

[profile.dev]
debug = 0 # Speed up compilation time and not necessary.
Expand Down
4 changes: 2 additions & 2 deletions xtask/src/commands/books.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Book {
fn build(&self) -> anyhow::Result<()> {
run_process(
"mdbook",
&vec!["build"],
&["build"],
None,
Some(self.path),
"mdbook should build the book successfully",
Expand All @@ -100,7 +100,7 @@ impl Book {
fn open(&self, args: &OpenArgs) -> anyhow::Result<()> {
run_process(
"mdbook",
&vec!["serve", "--open", "--port", &args.port.to_string()],
&["serve", "--open", "--port", &args.port.to_string()],
None,
Some(self.path),
"mdbook should open the book successfully",
Expand Down
1 change: 1 addition & 0 deletions xtask/src/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pub(crate) fn handle_command(
threads: args.threads,
jobs: args.jobs,
ci: args.ci,
features: args.features.clone(),
},
env,
)
Expand Down
2 changes: 2 additions & 0 deletions xtask/src/commands/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ pub fn handle_command(
jobs: None,
command: Some(TestSubCommand::All),
ci: true,
features: None,
},
ExecutionEnvironment::Std,
)?;
Expand Down Expand Up @@ -101,6 +102,7 @@ pub fn handle_command(
jobs: None,
command: Some(TestSubCommand::All),
ci: true,
features: None,
},
ExecutionEnvironment::NoStd,
)?;
Expand Down

0 comments on commit b9cb9bf

Please sign in to comment.