mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
CI: Appflowy tauri ci (#1851)
* chore: add notification parser * chore: rename classes to models * refactor: add effects and reducers folder * chore: update eslint version * chore: run npx eslint --fix src * fix: ParserOptions.project error by ignore linting the .eslintrc.cjs * ci: add tauri lint * ci: disable ubuntu and windows tauri ci * ci: install --------- Co-authored-by: Annie <anqi.annie.wang@gmail.com>
This commit is contained in:
@ -119,7 +119,7 @@ fn generate_ts_protobuf_files(
|
||||
let mut output = PathBuf::new();
|
||||
output.push(root);
|
||||
output.push(tauri_backend_service_path);
|
||||
output.push("classes");
|
||||
output.push("models");
|
||||
output.push(name);
|
||||
|
||||
if !output.as_path().exists() {
|
||||
|
@ -81,7 +81,7 @@ pub fn gen(crate_name: &str) {
|
||||
Ok(ref mut file) => {
|
||||
let mut export = String::new();
|
||||
export.push_str("// Auto-generated, do not edit \n");
|
||||
export.push_str(&format!("export * from '../../classes/{}';\n", crate_name));
|
||||
export.push_str(&format!("export * from '../../models/{}';\n", crate_name));
|
||||
export.push_str(&format!("export * from './{}';\n", event_file));
|
||||
file.write_all(export.as_bytes()).unwrap();
|
||||
File::flush(file).unwrap();
|
||||
|
Reference in New Issue
Block a user