mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-30 02:40:03 +08:00
add repo#dependencies
This commit is contained in:
@@ -43,6 +43,11 @@ pub fn create_build_json(args: &Vec<String>) {
|
|||||||
"name" => builder,
|
"name" => builder,
|
||||||
"version" => builder_version,
|
"version" => builder_version,
|
||||||
},
|
},
|
||||||
|
"repo" => object! {
|
||||||
|
"dependencies" => array! [
|
||||||
|
"me.hatter:commons:1.57" // TODO get latest version
|
||||||
|
]
|
||||||
|
},
|
||||||
};
|
};
|
||||||
match fs::write(BUILD_JSON, json::stringify_pretty(build_json_object, 4)) {
|
match fs::write(BUILD_JSON, json::stringify_pretty(build_json_object, 4)) {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user