Enhance OSDK performance by reusing existing base, bundle and build

This commit is contained in:
Ruize Tang
2024-12-09 16:25:49 +08:00
committed by Tate, Hongliang Tian
parent 3bbdc68d39
commit 858e95ed4d
12 changed files with 174 additions and 76 deletions

View File

@ -57,7 +57,10 @@ pub fn create_workspace(workspace_name: &str, members: &[&str]) {
.map(|member| toml::Value::String(member.to_string()))
.collect();
let exclude = toml::Value::Array(vec![toml::Value::String("target/osdk/base".to_string())]);
let exclude = toml::Value::Array(vec![
toml::Value::String("target/osdk/base".to_string()),
toml::Value::String("target/osdk/test-base".to_string()),
]);
table.insert("members".to_string(), toml::Value::Array(members));
table.insert("exclude".to_string(), exclude);