Explorar o código

Merge pull request #745 from AppFlowy-IO/ci/fix_docker_builder

ci: fix docker builder
Nathan.fooo %!s(int64=2) %!d(string=hai) anos
pai
achega
1b2161393c

+ 0 - 1
frontend/rust-lib/flowy-grid/src/entities/block_entities.rs

@@ -4,7 +4,6 @@ use flowy_grid_data_model::parser::NotEmptyStr;
 use flowy_grid_data_model::revision::RowRevision;
 use std::sync::Arc;
 
-
 /// [GridBlockPB] contains list of row ids. The rows here does not contain any data, just the id
 /// of the row. Check out [GridRowPB] for more details.
 ///

+ 0 - 2
frontend/rust-lib/flowy-grid/src/entities/field_entities.rs

@@ -8,7 +8,6 @@ use std::sync::Arc;
 
 use strum_macros::{Display, EnumCount as EnumCountMacro, EnumIter, EnumString};
 
-
 /// [GridFieldPB] defines a Field's attributes. Such as the name, field_type, and width. etc.
 #[derive(Debug, Clone, Default, ProtoBuf)]
 pub struct GridFieldPB {
@@ -280,7 +279,6 @@ pub struct FieldTypeOptionDataPB {
     pub type_option_data: Vec<u8>,
 }
 
-
 /// Collection of the [GridFieldPB]
 #[derive(Debug, Default, ProtoBuf)]
 pub struct RepeatedGridFieldPB {

+ 0 - 1
frontend/rust-lib/flowy-grid/src/entities/setting_entities.rs

@@ -12,7 +12,6 @@ use std::convert::TryInto;
 use strum::IntoEnumIterator;
 use strum_macros::EnumIter;
 
-
 /// [GridSettingPB] defines the setting options for the grid. Such as the filter, group, and sort.
 #[derive(Eq, PartialEq, ProtoBuf, Debug, Default, Clone)]
 pub struct GridSettingPB {

+ 1 - 3
frontend/rust-lib/flowy-grid/src/event_map.rs

@@ -42,7 +42,6 @@ pub fn create(grid_manager: Arc<GridManager>) -> Module {
     module
 }
 
-
 /// [GridEvent] defines events that are used to interact with the Grid. You could check [this](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/architecture/backend/protobuf)
 /// out, it includes how to use these annotations: input, output, etc.
 #[derive(Clone, Copy, PartialEq, Eq, Debug, Display, Hash, ProtoBuf_Enum, Flowy_Event)]
@@ -88,7 +87,6 @@ pub enum GridEvent {
     #[event(input = "FieldChangesetPayloadPB")]
     UpdateField = 11,
 
-
     /// [UpdateFieldTypeOption] event is used to update the field's type option data. Certain field
     /// types have user-defined options such as color, date format, number format, or a list of values
     /// for a multi-select list. These options are defined within a specialization of the
@@ -160,7 +158,7 @@ pub enum GridEvent {
     /// FieldType::SingleSelect or FieldType::MultiSelect.
     ///
     /// This event may trigger the GridNotification::DidUpdateCell event.
-    /// For example, GridNotification::DidUpdateCell will be triggered if the [SelectOptionChangesetPayloadPB] 
+    /// For example, GridNotification::DidUpdateCell will be triggered if the [SelectOptionChangesetPayloadPB]
     /// carries a change that updates the name of the option.
     #[event(input = "SelectOptionChangesetPayloadPB")]
     UpdateSelectOption = 32,

+ 0 - 4
frontend/rust-lib/flowy-grid/src/services/field/type_options/selection_type_option/select_option.rs

@@ -11,7 +11,6 @@ use serde::{Deserialize, Serialize};
 
 pub const SELECTION_IDS_SEPARATOR: &str = ",";
 
-
 /// [SelectOptionPB] represents an option for a single select, and multiple select.
 #[derive(Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize, ProtoBuf)]
 pub struct SelectOptionPB {
@@ -324,12 +323,10 @@ impl SelectOptionCellChangeset {
     }
 }
 
-
 /// [SelectOptionCellDataPB] contains a list of user's selected options and a list of all the options
 /// that the cell can use.
 #[derive(Clone, Debug, Default, Serialize, Deserialize, ProtoBuf)]
 pub struct SelectOptionCellDataPB {
-
     /// The available options that the cell can use.
     #[pb(index = 1)]
     pub options: Vec<SelectOptionPB>,
@@ -339,7 +336,6 @@ pub struct SelectOptionCellDataPB {
     pub select_options: Vec<SelectOptionPB>,
 }
 
-
 /// [SelectOptionChangesetPayloadPB] describes the changes of a FieldTypeOptionData. For the moment,
 /// it is used by [MultiSelectTypeOptionPB] and [SingleSelectTypeOptionPB].
 #[derive(Clone, Debug, Default, ProtoBuf)]

+ 1 - 1
frontend/scripts/docker-buildfiles/Dockerfile

@@ -33,7 +33,7 @@ source $HOME/.cargo/env && \
 cargo install --force cargo-make && \
 cargo install --force duckscript_cli && \
 cargo make flowy_dev && \
-cargo make -p production-linux-x86 appflowy-linux
+cargo make -p production-linux-x86_64 appflowy-linux
 
 CMD ["/home/makepkg/appflowy/frontend/app_flowy/build/linux/x64/release/bundle/app_flowy"]