Bump subprocess and toml. Also remove the demo project I accidentally
pushed.
This commit is contained in:
@@ -2,11 +2,12 @@ use std::collections::HashMap;
|
||||
use std::fs::{OpenOptions, read_dir};
|
||||
use std::io::{Read, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::time::Duration;
|
||||
|
||||
use fs::expand_files;
|
||||
use io::run_process;
|
||||
use java::{JAVA_EXT_CLASS, JAVA_EXT_SOURCE};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use subprocess::Exec;
|
||||
|
||||
use crate::Error;
|
||||
use crate::nest::{F_NEST_LOCK, F_NEST_TOML, Nest, NestLock};
|
||||
@@ -102,7 +103,11 @@ impl WorkspaceHandler {
|
||||
self.write_example_project()?;
|
||||
self.discover_packages()?;
|
||||
|
||||
run_process(&["git", "init", "."])?;
|
||||
Exec::cmd("git")
|
||||
.arg("init")
|
||||
.arg(".")
|
||||
.start()?
|
||||
.wait_timeout(Duration::from_secs(10))?;
|
||||
}
|
||||
|
||||
// Append to .gitignore
|
||||
|
||||
Reference in New Issue
Block a user