Skip to content

Commit

Permalink
ci: add wasm task to Makefile.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pacmanifold committed Dec 21, 2022
1 parent 990d99d commit d829594
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ run_task = "custom-default"
[tasks.custom-default]
dependencies = ["deny", "clippy-fix", "docs", "machete-fix"]

# Wasm build of test contract
[tasks.wasm]
command = "cargo"
args = [
"build",
"--target",
"wasm32-unknown-unknown",
"--lib",
"--release",
"--package",
"cw-dex-test-contract"
]

# Docs and Test coverage are not run by default. Can run all with "cargo make all".
[tasks.all]
dependencies = ["dev-test-flow", "custom-default", "cov"]

0 comments on commit d829594

Please sign in to comment.