Skip to content

Commit

Permalink
build(examples): fix cargo make run-examples (#327)
Browse files Browse the repository at this point in the history
Enables the all-widgets feature so that the calendar example runs correctly
  • Loading branch information
joshka authored Jul 17, 2023
1 parent c3f87f2 commit e2cb11c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ args = [
"warnings",
]

[tasks.clippy.window]
[tasks.clippy.windows]
args = [
"clippy",
"--all-targets",
Expand Down Expand Up @@ -153,11 +153,11 @@ args = [
private = true
condition = { env_set = ["TUI_EXAMPLE_NAME"] }
command = "cargo"
args = ["run", "--release", "--example", "${TUI_EXAMPLE_NAME}"]
args = ["run", "--release", "--example", "${TUI_EXAMPLE_NAME}", "--features", "all-widgets"]

[tasks.build-examples]
command = "cargo"
args = ["build", "--examples", "--release"]
args = ["build", "--examples", "--release", "--features", "all-widgets"]

[tasks.run-examples]
dependencies = ["build-examples"]
Expand Down

0 comments on commit e2cb11c

Please sign in to comment.