Skip to content

Commit

Permalink
Check the commands when asserts are on.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Oct 6, 2024
1 parent 0bf3edd commit 3cbfeaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/toit.toit
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,10 @@ main args/List:

root-command.add system-message.build-command

assert:
// Only run the check in assert mode.
root-command.check
true
root-command.run args

bin-dir sdk-dir/string? -> string:
Expand Down

0 comments on commit 3cbfeaa

Please sign in to comment.