Revert changes to Makefile.toml and build without --all-features

This commit is contained in:
Kunal Mohan 2021-05-16 20:56:28 +05:30
parent 2038947a14
commit 62d0901bbd

View file

@ -2,7 +2,6 @@
[env] [env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
CARGO_TARGET_DIR = "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target" CARGO_TARGET_DIR = "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/target"
CARGO_MAKE_WORKSPACE_SKIP_MEMBERS = ["zellij-utils", "zellij-server", "zellij-tile", "zellij-client", "zellij-tile-utils"]
SKIP_TEST = false SKIP_TEST = false
# Add clippy to the default flow # Add clippy to the default flow
@ -25,7 +24,7 @@ env = { "SKIP_TEST" = true }
[tasks.test] [tasks.test]
condition = { env_false = ["SKIP_TEST"] } condition = { env_false = ["SKIP_TEST"] }
dependencies = ["pre-test"] dependencies = ["pre-test"]
args = ["test", "--all-features", "--workspace"] args = ["test"]
[tasks.post-test] [tasks.post-test]
env = { "SKIP_TEST" = false } env = { "SKIP_TEST" = false }
@ -39,6 +38,12 @@ run_task = "launch"
[tasks.build-workspace] [tasks.build-workspace]
run_task = { name = "build", fork = true } run_task = { name = "build", fork = true }
[tasks.build]
args = ["build"]
[tasks.build-release]
args = ["build", "--release"]
[tasks.build-dev-data-dir] [tasks.build-dev-data-dir]
script_runner = "@duckscript" script_runner = "@duckscript"
script = ''' script = '''