mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update vscode task (#1790)
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
echo "Start building rust sdk"
|
||||
rustup show
|
||||
cargo make --profile development-windows-x86 appflowy-core-dev
|
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env fish
|
||||
echo 'Start building rust sdk'
|
||||
|
||||
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 stable-2021-04-24
|
||||
#3. Check your cargo env using the same source by: which cargo
|
||||
# 1. ~/.bash_profile,
|
||||
# 2. ~/.bashrc
|
||||
# 3. ~/.profile
|
||||
# 4. ~/.zshrc
|
||||
|
||||
|
||||
case "$FLOWY_DEV_ENV" in
|
||||
Linux)
|
||||
cargo make --profile "development-linux-$(uname -m)" appflowy-core-dev
|
||||
;;
|
||||
|
||||
macOS)
|
||||
cargo make --profile "development-mac-$(uname -m)" appflowy-core-dev
|
||||
;;
|
||||
|
||||
Windows)
|
||||
cargo make --profile development-windows appflowy-core-dev
|
||||
;;
|
||||
|
||||
*)
|
||||
# All undefined cases
|
||||
echo "[ERROR] The FLOWY_DEV_ENV environment variable must be set. Please see the GitHub wiki for instructions."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user