mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-27 17:20:06 +08:00
add repo#dependencies
This commit is contained in:
@@ -43,6 +43,11 @@ pub fn create_build_json(args: &Vec<String>) {
|
||||
"name" => builder,
|
||||
"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)) {
|
||||
Ok(_) => {
|
||||
|
||||
Reference in New Issue
Block a user