mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
switch to stable channel
This commit is contained in:
@ -7,7 +7,7 @@ rustup show
|
||||
#Env check
|
||||
#1. rustc --version will be the same as cargo --version
|
||||
#2. override the toolchain if the current toolchain not equal to the rust-toolchain file specified.
|
||||
# rustup override set nightly-2021-04-24
|
||||
# rustup override set stable-2021-04-24
|
||||
#3. Check your cargo env using the same source by: which cargo
|
||||
# 1. ~/.bash_profile,
|
||||
# 2. ~/.bashrc
|
||||
|
@ -22,7 +22,7 @@ RUN git clone https://aur.archlinux.org/yay.git \
|
||||
RUN yay -S --noconfirm curl base-devel sqlite openssl clang cmake ninja pkg-config gtk3 unzip
|
||||
RUN xdg-user-dirs-update
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
RUN source $HOME/.cargo/env && rustup toolchain install nightly && rustup default nightly
|
||||
RUN source $HOME/.cargo/env && rustup toolchain install stable && rustup default stable
|
||||
RUN git clone https://github.com/flutter/flutter.git $HOME/.local/flutter
|
||||
RUN flutter channel stable
|
||||
RUN flutter config --enable-linux-desktop
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
[tasks.env_check]
|
||||
dependencies = ["echo_env"]
|
||||
condition = { env_set = [ "BUILD_FLAG", "RUST_COMPILE_TARGET", "CRATE_TYPE", "TARGET_OS"], channels = ["nightly"] }
|
||||
condition = { env_set = [ "BUILD_FLAG", "RUST_COMPILE_TARGET", "CRATE_TYPE", "TARGET_OS"], channels = ["stable"] }
|
||||
|
||||
[tasks.flowy-sdk-dev]
|
||||
mac_alias = "flowy-sdk-dev-macos"
|
||||
|
Reference in New Issue
Block a user