2021-11-15 07:53:08 +00:00
|
|
|
#https://github.com/sagiegurari/cargo-make
|
|
|
|
|
2021-06-28 14:56:15 +00:00
|
|
|
extend = [
|
2024-04-24 02:26:58 +00:00
|
|
|
{ path = "scripts/makefile/desktop.toml" },
|
|
|
|
{ path = "scripts/makefile/mobile.toml" },
|
|
|
|
{ path = "scripts/makefile/protobuf.toml" },
|
|
|
|
{ path = "scripts/makefile/tests.toml" },
|
|
|
|
{ path = "scripts/makefile/docker.toml" },
|
|
|
|
{ path = "scripts/makefile/env.toml" },
|
|
|
|
{ path = "scripts/makefile/flutter.toml" },
|
|
|
|
{ path = "scripts/makefile/tool.toml" },
|
|
|
|
{ path = "scripts/makefile/tauri.toml" },
|
|
|
|
{ path = "scripts/makefile/web.toml" },
|
2021-06-28 14:56:15 +00:00
|
|
|
]
|
|
|
|
|
2022-03-07 00:30:59 +00:00
|
|
|
[config]
|
|
|
|
on_error_task = "catch"
|
|
|
|
|
|
|
|
[tasks.catch]
|
2022-09-18 01:30:59 +00:00
|
|
|
run_task = { name = ["restore-crate-type"] }
|
2022-03-07 00:30:59 +00:00
|
|
|
|
2021-06-28 14:56:15 +00:00
|
|
|
[env]
|
2023-02-27 11:00:00 +00:00
|
|
|
RUST_LOG = "info"
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "dev"
|
2021-06-28 14:56:15 +00:00
|
|
|
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
|
|
|
|
CARGO_MAKE_CRATE_FS_NAME = "dart_ffi"
|
|
|
|
CARGO_MAKE_CRATE_NAME = "dart-ffi"
|
2022-02-19 08:48:57 +00:00
|
|
|
LIB_NAME = "dart_ffi"
|
2024-05-13 05:26:19 +00:00
|
|
|
APPFLOWY_VERSION = "0.5.7"
|
2024-04-24 02:26:58 +00:00
|
|
|
FLUTTER_DESKTOP_FEATURES = "dart"
|
2021-11-06 14:35:45 +00:00
|
|
|
PRODUCT_NAME = "AppFlowy"
|
2023-11-28 02:54:31 +00:00
|
|
|
MACOSX_DEPLOYMENT_TARGET = "11.0"
|
2022-04-12 02:06:47 +00:00
|
|
|
# CRATE_TYPE: https://doc.rust-lang.org/reference/linkage.html
|
|
|
|
# If you update the macOS's CRATE_TYPE, don't forget to update the
|
2023-01-08 04:10:53 +00:00
|
|
|
# appflowy_backend.podspec
|
2022-04-12 02:06:47 +00:00
|
|
|
# for staticlib:
|
|
|
|
# s.static_framework = true
|
|
|
|
# s.vendored_libraries = "libdart_ffi.a"
|
|
|
|
# for cdylib:
|
|
|
|
# s.vendored_libraries = "libdart_ffi.dylib"
|
|
|
|
#
|
|
|
|
# Remember to update the ffi.dart:
|
|
|
|
# for staticlib:
|
|
|
|
# if (Platform.isMacOS) return DynamicLibrary.open('${prefix}/libdart_ffi.a');
|
|
|
|
# for cdylib:
|
|
|
|
# if (Platform.isMacOS) return DynamicLibrary.open('${prefix}/libdart_ffi.dylib');
|
2022-04-11 23:48:59 +00:00
|
|
|
CRATE_TYPE = "staticlib"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "a"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "local"
|
2023-02-26 08:27:17 +00:00
|
|
|
FLUTTER_FLOWY_SDK_PATH = "appflowy_flutter/packages/appflowy_backend"
|
2023-01-24 06:01:30 +00:00
|
|
|
TAURI_BACKEND_SERVICE_PATH = "appflowy_tauri/src/services/backend"
|
2024-01-29 21:36:27 +00:00
|
|
|
WEB_BACKEND_SERVICE_PATH = "appflowy_web/src/services/backend"
|
2024-03-21 04:54:56 +00:00
|
|
|
WEB_LIB_PATH = "appflowy_web/wasm-libs/af-wasm"
|
2024-04-03 11:25:54 +00:00
|
|
|
TAURI_APP_BACKEND_SERVICE_PATH = "appflowy_web_app/src/application/services/tauri-services/backend"
|
2022-10-15 15:34:56 +00:00
|
|
|
# Test default config
|
|
|
|
TEST_CRATE_TYPE = "cdylib"
|
|
|
|
TEST_LIB_EXT = "dylib"
|
|
|
|
TEST_BUILD_FLAG = "debug"
|
|
|
|
TEST_COMPILE_TARGET = "x86_64-apple-darwin"
|
2021-11-15 07:53:08 +00:00
|
|
|
|
2022-05-30 12:48:28 +00:00
|
|
|
[env.development-mac-arm64]
|
|
|
|
RUST_LOG = "info"
|
|
|
|
TARGET_OS = "macos"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-apple-darwin"
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
|
|
|
PRODUCT_EXT = "app"
|
2022-07-04 06:29:46 +00:00
|
|
|
BUILD_ARCHS = "arm64"
|
2023-08-06 08:06:43 +00:00
|
|
|
BUILD_ACTIVE_ARCHS_ONLY = true
|
2023-04-28 06:08:53 +00:00
|
|
|
CRATE_TYPE = "staticlib"
|
2022-05-30 12:48:28 +00:00
|
|
|
|
|
|
|
[env.development-mac-x86_64]
|
2022-04-12 03:13:35 +00:00
|
|
|
RUST_LOG = "info"
|
2021-11-04 08:00:08 +00:00
|
|
|
TARGET_OS = "macos"
|
2021-11-14 14:46:59 +00:00
|
|
|
RUST_COMPILE_TARGET = "x86_64-apple-darwin"
|
2021-11-04 10:03:36 +00:00
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
2021-11-06 14:35:45 +00:00
|
|
|
PRODUCT_EXT = "app"
|
2022-07-04 06:29:46 +00:00
|
|
|
BUILD_ARCHS = "x86_64"
|
2023-08-06 08:06:43 +00:00
|
|
|
BUILD_ACTIVE_ARCHS_ONLY = true
|
2023-04-28 06:08:53 +00:00
|
|
|
CRATE_TYPE = "staticlib"
|
2021-11-06 14:35:45 +00:00
|
|
|
|
2022-05-30 12:48:28 +00:00
|
|
|
[env.production-mac-arm64]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2021-11-15 07:53:08 +00:00
|
|
|
BUILD_FLAG = "release"
|
2021-11-04 08:00:08 +00:00
|
|
|
TARGET_OS = "macos"
|
2021-11-14 14:46:59 +00:00
|
|
|
RUST_COMPILE_TARGET = "aarch64-apple-darwin"
|
2021-11-04 10:03:36 +00:00
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2021-11-06 14:35:45 +00:00
|
|
|
PRODUCT_EXT = "app"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "production"
|
2022-06-07 16:54:21 +00:00
|
|
|
BUILD_ARCHS = "arm64"
|
2023-08-06 08:06:43 +00:00
|
|
|
BUILD_ACTIVE_ARCHS_ONLY = false
|
2023-04-28 06:08:53 +00:00
|
|
|
CRATE_TYPE = "staticlib"
|
2021-11-04 08:00:08 +00:00
|
|
|
|
2022-05-30 12:48:28 +00:00
|
|
|
[env.production-mac-x86_64]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2021-11-04 10:03:36 +00:00
|
|
|
BUILD_FLAG = "release"
|
2021-11-15 07:53:08 +00:00
|
|
|
TARGET_OS = "macos"
|
|
|
|
RUST_COMPILE_TARGET = "x86_64-apple-darwin"
|
2021-11-04 10:03:36 +00:00
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2021-11-15 07:53:08 +00:00
|
|
|
PRODUCT_EXT = "app"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "production"
|
2022-06-07 16:54:21 +00:00
|
|
|
BUILD_ARCHS = "x86_64"
|
2023-08-06 08:06:43 +00:00
|
|
|
BUILD_ACTIVE_ARCHS_ONLY = false
|
2023-04-28 06:08:53 +00:00
|
|
|
CRATE_TYPE = "staticlib"
|
2021-11-17 06:17:46 +00:00
|
|
|
|
2023-08-06 08:06:43 +00:00
|
|
|
[env.production-mac-universal]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2023-08-06 08:06:43 +00:00
|
|
|
BUILD_FLAG = "release"
|
|
|
|
TARGET_OS = "macos"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
|
|
|
PRODUCT_EXT = "app"
|
|
|
|
BUILD_ACTIVE_ARCHS_ONLY = false
|
|
|
|
APP_ENVIRONMENT = "production"
|
|
|
|
|
2021-11-23 09:45:18 +00:00
|
|
|
[env.development-windows-x86]
|
2021-11-17 06:17:46 +00:00
|
|
|
TARGET_OS = "windows"
|
|
|
|
RUST_COMPILE_TARGET = "x86_64-pc-windows-msvc"
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
|
|
|
PRODUCT_EXT = "exe"
|
2021-11-17 09:52:49 +00:00
|
|
|
CRATE_TYPE = "cdylib"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "dll"
|
2021-11-17 06:17:46 +00:00
|
|
|
|
2021-11-23 09:45:18 +00:00
|
|
|
[env.production-windows-x86]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2021-11-04 10:03:36 +00:00
|
|
|
BUILD_FLAG = "release"
|
2021-11-04 08:00:08 +00:00
|
|
|
TARGET_OS = "windows"
|
2021-11-17 06:17:46 +00:00
|
|
|
RUST_COMPILE_TARGET = "x86_64-pc-windows-msvc"
|
2021-11-04 10:03:36 +00:00
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2021-11-06 14:35:45 +00:00
|
|
|
PRODUCT_EXT = "exe"
|
2021-11-17 09:52:49 +00:00
|
|
|
CRATE_TYPE = "cdylib"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "dll"
|
2023-12-31 03:54:55 +00:00
|
|
|
BUILD_ARCHS = "x64"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "production"
|
2021-06-28 14:56:15 +00:00
|
|
|
|
2022-07-08 00:30:58 +00:00
|
|
|
[env.development-linux-x86_64]
|
2021-11-19 03:13:07 +00:00
|
|
|
TARGET_OS = "linux"
|
|
|
|
RUST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "so"
|
2021-11-19 14:40:57 +00:00
|
|
|
LINUX_ARCH = "x64"
|
2021-11-19 03:13:07 +00:00
|
|
|
|
2022-07-08 00:30:58 +00:00
|
|
|
[env.production-linux-x86_64]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2021-11-19 03:13:07 +00:00
|
|
|
BUILD_FLAG = "release"
|
|
|
|
TARGET_OS = "linux"
|
|
|
|
RUST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "so"
|
2021-11-19 14:40:57 +00:00
|
|
|
LINUX_ARCH = "x64"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "production"
|
2021-11-19 14:40:57 +00:00
|
|
|
|
|
|
|
[env.development-linux-aarch64]
|
|
|
|
TARGET_OS = "linux"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-unknown-linux-gnu"
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "so"
|
2021-11-19 14:40:57 +00:00
|
|
|
LINUX_ARCH = "arm64"
|
2024-04-24 02:26:58 +00:00
|
|
|
FLUTTER_DESKTOP_FEATURES = "dart,openssl_vendored"
|
2021-11-19 03:13:07 +00:00
|
|
|
|
2021-11-19 09:34:49 +00:00
|
|
|
[env.production-linux-aarch64]
|
2023-09-05 01:31:23 +00:00
|
|
|
CARGO_PROFILE = "release"
|
2021-11-19 09:34:49 +00:00
|
|
|
BUILD_FLAG = "release"
|
|
|
|
TARGET_OS = "linux"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-unknown-linux-gnu"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2022-10-15 15:34:56 +00:00
|
|
|
LIB_EXT = "so"
|
2021-11-19 14:40:57 +00:00
|
|
|
LINUX_ARCH = "arm64"
|
2021-12-05 08:39:41 +00:00
|
|
|
APP_ENVIRONMENT = "production"
|
2024-04-24 02:26:58 +00:00
|
|
|
FLUTTER_DESKTOP_FEATURES = "dart,openssl_vendored"
|
2021-11-19 09:34:49 +00:00
|
|
|
|
2023-07-21 07:53:57 +00:00
|
|
|
[env.development-ios-arm64-sim]
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
TARGET_OS = "ios"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-apple-ios-sim"
|
|
|
|
BUILD_ARCHS = "arm64"
|
|
|
|
CRATE_TYPE = "staticlib"
|
|
|
|
|
|
|
|
[env.development-ios-arm64]
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
TARGET_OS = "ios"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-apple-ios"
|
|
|
|
BUILD_ARCHS = "arm64"
|
|
|
|
CRATE_TYPE = "staticlib"
|
2023-10-23 10:35:07 +00:00
|
|
|
|
|
|
|
[env.production-ios-arm64]
|
|
|
|
BUILD_FLAG = "release"
|
|
|
|
TARGET_OS = "ios"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
|
|
|
RUST_COMPILE_TARGET = "aarch64-apple-ios"
|
|
|
|
BUILD_ARCHS = "arm64"
|
|
|
|
CRATE_TYPE = "staticlib"
|
2023-07-21 07:53:57 +00:00
|
|
|
|
2023-10-19 01:55:23 +00:00
|
|
|
[env.development-android]
|
|
|
|
BUILD_FLAG = "debug"
|
|
|
|
TARGET_OS = "android"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Debug"
|
|
|
|
LIB_EXT = "so"
|
2023-12-08 07:49:06 +00:00
|
|
|
PRODUCT_EXT = "apk"
|
2024-04-24 02:26:58 +00:00
|
|
|
FLUTTER_DESKTOP_FEATURES = "dart,openssl_vendored"
|
2023-10-19 01:55:23 +00:00
|
|
|
|
2023-10-25 15:33:46 +00:00
|
|
|
[env.production-android]
|
|
|
|
BUILD_FLAG = "release"
|
|
|
|
TARGET_OS = "android"
|
|
|
|
CRATE_TYPE = "cdylib"
|
|
|
|
FLUTTER_OUTPUT_DIR = "Release"
|
2023-12-08 07:49:06 +00:00
|
|
|
PRODUCT_EXT = "apk"
|
2023-10-25 15:33:46 +00:00
|
|
|
LIB_EXT = "so"
|
|
|
|
|
2021-11-15 07:53:08 +00:00
|
|
|
[tasks.echo_env]
|
2022-09-18 01:30:59 +00:00
|
|
|
script = ['''
|
2021-11-23 07:30:08 +00:00
|
|
|
echo "-------- Env Parameters --------"
|
2021-11-15 10:15:09 +00:00
|
|
|
echo CRATE_TYPE: ${CRATE_TYPE}
|
2021-11-15 07:53:08 +00:00
|
|
|
echo BUILD_FLAG: ${BUILD_FLAG}
|
|
|
|
echo TARGET_OS: ${TARGET_OS}
|
|
|
|
echo RUST_COMPILE_TARGET: ${RUST_COMPILE_TARGET}
|
2023-01-12 05:09:08 +00:00
|
|
|
echo FEATURES: ${FLUTTER_DESKTOP_FEATURES}
|
2021-11-15 07:53:08 +00:00
|
|
|
echo PRODUCT_EXT: ${PRODUCT_EXT}
|
2021-12-05 08:39:41 +00:00
|
|
|
echo APP_ENVIRONMENT: ${APP_ENVIRONMENT}
|
2024-03-21 04:54:56 +00:00
|
|
|
echo BUILD_ARCHS: ${BUILD_ARCHS}
|
|
|
|
echo BUILD_VERSION: ${BUILD_VERSION}
|
2022-09-18 01:30:59 +00:00
|
|
|
''']
|
2021-11-23 07:30:08 +00:00
|
|
|
script_runner = "@shell"
|
2021-11-15 07:53:08 +00:00
|
|
|
|
2021-06-28 14:56:15 +00:00
|
|
|
[tasks.setup-crate-type]
|
|
|
|
private = true
|
|
|
|
script = [
|
2024-04-24 02:26:58 +00:00
|
|
|
"""
|
|
|
|
toml = readfile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml
|
|
|
|
val = replace ${toml} "staticlib" ${CRATE_TYPE}
|
|
|
|
result = writefile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml ${val}
|
|
|
|
assert ${result}
|
|
|
|
""",
|
2021-06-28 14:56:15 +00:00
|
|
|
]
|
|
|
|
script_runner = "@duckscript"
|
|
|
|
|
|
|
|
[tasks.restore-crate-type]
|
|
|
|
private = true
|
|
|
|
script = [
|
2024-04-24 02:26:58 +00:00
|
|
|
"""
|
|
|
|
toml = readfile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml
|
|
|
|
val = replace ${toml} ${CRATE_TYPE} "staticlib"
|
|
|
|
result = writefile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml ${val}
|
|
|
|
assert ${result}
|
|
|
|
""",
|
2021-06-28 14:56:15 +00:00
|
|
|
]
|
2022-02-08 06:36:59 +00:00
|
|
|
script_runner = "@duckscript"
|
|
|
|
|
2023-04-17 01:19:55 +00:00
|
|
|
[env.test-macos-x86_64]
|
2022-10-15 15:34:56 +00:00
|
|
|
TEST_CRATE_TYPE = "cdylib"
|
|
|
|
TEST_LIB_EXT = "dylib"
|
|
|
|
# For the moment, the DynamicLibrary only supports open x86_64 architectures binary.
|
|
|
|
TEST_COMPILE_TARGET = "x86_64-apple-darwin"
|
|
|
|
|
2023-04-17 01:19:55 +00:00
|
|
|
[env.test-macos-arm64]
|
|
|
|
TEST_CRATE_TYPE = "cdylib"
|
|
|
|
TEST_LIB_EXT = "dylib"
|
|
|
|
TEST_COMPILE_TARGET = "aarch64-apple-darwin"
|
|
|
|
|
2022-10-15 15:34:56 +00:00
|
|
|
[env.test-linux]
|
|
|
|
TEST_CRATE_TYPE = "cdylib"
|
|
|
|
TEST_LIB_EXT = "so"
|
|
|
|
TEST_COMPILE_TARGET = "x86_64-unknown-linux-gnu"
|
|
|
|
|
|
|
|
[env.test-windows]
|
|
|
|
TEST_CRATE_TYPE = "cdylib"
|
|
|
|
TEST_LIB_EXT = "dll"
|
|
|
|
TEST_COMPILE_TARGET = "x86_64-pc-windows-msvc"
|
|
|
|
|
|
|
|
[tasks.setup-test-crate-type]
|
|
|
|
private = true
|
|
|
|
script = [
|
2024-04-24 02:26:58 +00:00
|
|
|
"""
|
|
|
|
toml = readfile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml
|
|
|
|
val = replace ${toml} "staticlib" ${TEST_CRATE_TYPE}
|
|
|
|
result = writefile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml ${val}
|
|
|
|
assert ${result}
|
|
|
|
""",
|
2022-10-15 15:34:56 +00:00
|
|
|
]
|
|
|
|
script_runner = "@duckscript"
|
|
|
|
|
|
|
|
[tasks.restore-test-crate-type]
|
|
|
|
private = true
|
|
|
|
script = [
|
2024-04-24 02:26:58 +00:00
|
|
|
"""
|
|
|
|
toml = readfile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml
|
|
|
|
val = replace ${toml} ${TEST_CRATE_TYPE} "staticlib"
|
|
|
|
result = writefile ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/${CARGO_MAKE_CRATE_NAME}/Cargo.toml ${val}
|
|
|
|
assert ${result}
|
|
|
|
""",
|
2022-10-15 15:34:56 +00:00
|
|
|
]
|
|
|
|
script_runner = "@duckscript"
|
|
|
|
|
2022-02-08 06:36:59 +00:00
|
|
|
[tasks.test-build]
|
2022-09-18 01:30:59 +00:00
|
|
|
condition = { env_set = ["FLUTTER_FLOWY_SDK_PATH"] }
|
|
|
|
script = ["""
|
2022-02-16 02:00:31 +00:00
|
|
|
cd ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/flowy-net
|
|
|
|
cargo build -vv --features=dart
|
2022-09-18 01:30:59 +00:00
|
|
|
"""]
|
2022-02-08 06:36:59 +00:00
|
|
|
script_runner = "@shell"
|