[tasks.build]
command = "cargo"
args = ["build"]

[tasks.build-with-styles]
command = "cargo"
toolchain = "nightly"
args = ["build", "--features", "seed_style"]

[tasks.build-with-registry]
command = "cargo"
toolchain = "nightly"
args = ["build", "--features", "registry"]

[tasks.build-with-registry-mi]
command = "cargo"
toolchain = "nightly"
args = ["build", "--features", "registry,material_icons,font_awesome"]

[tasks.build-with-registry-mi.env]
"SEED_ICONS_FILTER_NAMES" = [ 
    "check_circle", 
    "check-circle", 
    "check_box_outline_blank", 
    "chat_bubble_outline",
]

[tasks.in-node-test]
command = "wasm-pack"
args = ["test", "--node", "--", "--test", "in_node"]

[tasks.ff-test]
toolchain = "nightly"
command = "wasm-pack"
args = ["test", "--headless", "--firefox", "--", "--features", "styles,font_awesome"]

[tasks.publish]
command = "cargo"
args = ["publish"]

[tasks.dry-publish]
command = "cargo"
args = ["publish", "--dry-run"]
