mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: install protoc binary
This commit is contained in:
parent
15d91d3cbe
commit
1ab3f42477
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -31,6 +31,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo install --force cargo-make
|
cargo install --force cargo-make
|
||||||
cargo install --force duckscript_cli
|
cargo install --force duckscript_cli
|
||||||
|
brew install protobuf
|
||||||
cargo make flowy_dev
|
cargo make flowy_dev
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
@ -71,6 +72,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo install --force cargo-make
|
cargo install --force cargo-make
|
||||||
cargo install --force duckscript_cli
|
cargo install --force duckscript_cli
|
||||||
|
sudo apt-get install protobuf-compiler
|
||||||
cargo make flowy_dev
|
cargo make flowy_dev
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
#![allow(unused_attributes)]
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use walkdir::WalkDir;
|
use walkdir::WalkDir;
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn gen(name: &str, root: &str) {
|
pub fn gen(name: &str, root: &str) {
|
||||||
let mut paths = vec![];
|
let mut paths = vec![];
|
||||||
let mut file_names = vec![];
|
let mut file_names = vec![];
|
||||||
@ -31,6 +33,7 @@ pub fn gen(name: &str, root: &str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "dart")]
|
#[cfg(feature = "dart")]
|
||||||
|
#[allow(dead_code)]
|
||||||
fn gen_pb_for_dart(name: &str, root: &str, paths: &Vec<String>, file_names: &Vec<String>) {
|
fn gen_pb_for_dart(name: &str, root: &str, paths: &Vec<String>, file_names: &Vec<String>) {
|
||||||
let output = format!(
|
let output = format!(
|
||||||
"{}/{}/{}",
|
"{}/{}/{}",
|
||||||
|
Loading…
Reference in New Issue
Block a user