chore: build tauri from vscode launch (#1720)

* chore: build tauri from vscode launch

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
Nathan.fooo
2023-01-18 11:22:13 +08:00
committed by GitHub
parent e6b186cc43
commit d77c41013f
14 changed files with 71 additions and 64 deletions

View File

@ -1,3 +1,7 @@
use std::env;
fn main() {
env::set_var("TAURI_PROTOBUF_PATH", "appflowy_tauri/src/protobuf");
env::set_var("CARGO_MAKE_WORKING_DIRECTORY", "../../../");
tauri_build::build()
}