mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 08:32:23 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
9e038f6938
commit
dcac68af07
6
build.rs
6
build.rs
@ -185,11 +185,7 @@ fn main() {
|
||||
// If Cargo.toml is present, build the app
|
||||
let parent_pkg_path = format!("{}/pkg", entry_path.display());
|
||||
if entry_path.join("Cargo.toml").exists() {
|
||||
build_app(
|
||||
&entry_path.display().to_string(),
|
||||
&package_name,
|
||||
None,
|
||||
);
|
||||
build_app(&entry_path.display().to_string(), &package_name, None);
|
||||
} else if entry_path.is_dir() {
|
||||
fs::create_dir_all(&parent_pkg_path).unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user