feat: separate develop, release, test working directory

This commit is contained in:
appflowy
2022-02-20 08:35:52 +08:00
parent e9ba9ad149
commit cdec567cbb
8 changed files with 25 additions and 22 deletions

View File

@ -138,12 +138,10 @@ script = [
"""
# Copy the flowy_sdk lib to system temp directory for flutter unit test.
lib = set lib${LIB_NAME}.${SDK_EXT}
dest = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/app_flowy/.appflowy_dev/${lib}
dest = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/app_flowy/.sandbox/${lib}
rm ${dest}
cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/${lib} \
${dest}
echo copy ${lib} to ${dest}
""",
]
script_runner = "@duckscript"