|
|
|
@ -4,36 +4,36 @@ CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = "true"
|
|
|
|
|
|
|
|
|
|
# ---- BUILD & CREATE WASMS ----
|
|
|
|
|
[tasks.build]
|
|
|
|
|
description = "Build only Seed without examples"
|
|
|
|
|
description = "Build"
|
|
|
|
|
workspace = false
|
|
|
|
|
command = "cargo"
|
|
|
|
|
args = ["build"]
|
|
|
|
|
|
|
|
|
|
[tasks.build_release]
|
|
|
|
|
description = "Build only Seed without examples"
|
|
|
|
|
description = "Build, with the --release flag"
|
|
|
|
|
workspace = false
|
|
|
|
|
command = "cargo"
|
|
|
|
|
args = ["build", "--release"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.create_wasms]
|
|
|
|
|
description = "Build examples with wasm-pack"
|
|
|
|
|
description = "Build with wasm-pack"
|
|
|
|
|
workspace = false
|
|
|
|
|
command = "cargo"
|
|
|
|
|
args = ["make", "create_wasm"]
|
|
|
|
|
|
|
|
|
|
[tasks.all]
|
|
|
|
|
description = "Build all - Seed + examples and create wasms"
|
|
|
|
|
description = "Build, and create wasms"
|
|
|
|
|
workspace = false
|
|
|
|
|
dependencies = ["build", "create_wasms"]
|
|
|
|
|
|
|
|
|
|
[tasks.all_release]
|
|
|
|
|
description = "Build all - Seed + examples and create wasms, with the --release flag"
|
|
|
|
|
description = "Build, and create wasms, with the --release flag"
|
|
|
|
|
workspace = false
|
|
|
|
|
dependencies = ["build_release", "create_wasms"]
|
|
|
|
|
|
|
|
|
|
[tasks.serve]
|
|
|
|
|
description = "Start server for given example"
|
|
|
|
|
description = "Start server"
|
|
|
|
|
install_crate = { crate_name = "https", binary = "http", test_arg = "--help" }
|
|
|
|
|
workspace = false
|
|
|
|
|
command = "http"
|
|
|
|
|