1
0
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:
2019-08-22 08:31:16 +08:00
parent 51bc8f0ab6
commit f6da0610aa

View File

@@ -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(_) => {