mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-12 19:13:10 +03:00
Remove now no-longer-necessary pause in publish script
This commit is contained in:
parent
2902ceb26f
commit
66e48bd168
15
publish.rs
15
publish.rs
@ -207,14 +207,6 @@ fn publish(krate: &Crate) {
|
||||
if !CRATES_TO_PUBLISH.iter().any(|s| *s == krate.name) {
|
||||
return;
|
||||
}
|
||||
if krate.name == "wasm-bindgen" {
|
||||
println!("ABOUT TO PUBLISH wasm-bindgen");
|
||||
println!("for this to work you need to comment out the `dev-dependencies`");
|
||||
println!("section in `Cargo.toml` and everything below");
|
||||
println!("");
|
||||
println!("hit enter when done");
|
||||
drop(io::stdin().read_line(&mut String::new()));
|
||||
}
|
||||
let status = Command::new("cargo")
|
||||
.arg("publish")
|
||||
.current_dir(krate.manifest.parent().unwrap())
|
||||
@ -225,11 +217,4 @@ fn publish(krate: &Crate) {
|
||||
if !status.success() {
|
||||
println!("FAIL: failed to publish `{}`: {}", krate.name, status);
|
||||
}
|
||||
|
||||
if krate.name == "wasm-bindgen" {
|
||||
println!("ok please now uncomment the section you just commented");
|
||||
println!("");
|
||||
println!("hit enter when done");
|
||||
drop(io::stdin().read_line(&mut String::new()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user