From 5515232d4c600057d0285515497355651dd4aa44 Mon Sep 17 00:00:00 2001 From: sagie gur ari Date: Fri, 17 Jan 2020 15:24:08 +0000 Subject: [PATCH] update makefile --- Makefile.toml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index ca81a4f..5aef448 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1,7 +1,6 @@ [env] CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = "true" -CARGO_MAKE_KCOV_VERSION = "38" [env.sdk] CARGO_MAKE_WORKSPACE_INCLUDE_MEMBERS = "duckscript_sdk;duckscript_cli" @@ -55,23 +54,3 @@ workspace = false cwd = "./duckscript_cli" command = "cargo" args = [ "install", "--force", "--path", "." ] - -[tasks.zip-release-binary-for-target] -env = { "OUTPUT_NAME" = "${CARGO_MAKE_PROJECT_NAME}-v${CARGO_MAKE_PROJECT_VERSION}-${CARGO_MAKE_RELEASE_FLOW_TARGET}", "CARGO_MAKE_BINARY_EXECUTABLE_NAME" = "duck" } -script = [ - "mkdir ${OUTPUT_NAME}", - "cp target/$CARGO_MAKE_RELEASE_FLOW_TARGET/release/${CARGO_MAKE_BINARY_EXECUTABLE_NAME} ${OUTPUT_NAME}/", - "cp README.md LICENSE* ${OUTPUT_NAME}/", - "zip -r ${OUTPUT_NAME}.zip ${OUTPUT_NAME}", -] - -[tasks.zip-release-binary-for-target.windows] -script = [ - "mkdir ${OUTPUT_NAME}", - "dir target", - "powershell copy-item -path target/${CARGO_MAKE_RELEASE_FLOW_TARGET}/release/${CARGO_MAKE_BINARY_EXECUTABLE_NAME}.exe -destination ${OUTPUT_NAME}", - "powershell copy-item -path README.md -destination ${OUTPUT_NAME}", - "powershell copy-item -path LICENSE -destination ${OUTPUT_NAME}", - "dir ${OUTPUT_NAME}", - "powershell Compress-Archive -Path ${OUTPUT_NAME}/* -DestinationPath ${OUTPUT_NAME}.zip", -]