diff options
| author | mo8it <mo8it@proton.me> | 2024-04-25 03:25:45 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-25 03:25:45 +0200 |
| commit | 2af0cd9ccef07edf27abf7046dbe15e32d1b476d (patch) | |
| tree | f47e1c3e0232144910150759e768e5d346e53c09 /src/dev | |
| parent | f92d45fa685e308c009cdf09d341bda41fcf9c52 (diff) | |
Replace `mode` by `test` and `strict_clippy`
Diffstat (limited to 'src/dev')
| -rw-r--r-- | src/dev/new.rs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/dev/new.rs b/src/dev/new.rs index 82aba42..8f87010 100644 --- a/src/dev/new.rs +++ b/src/dev/new.rs @@ -99,10 +99,15 @@ name = "???" # Otherwise, the path is `exercises/NAME.rs` # dir = "???" -# The mode to run the exercise in. -# The mode "test" (preferred) runs the exercise's tests. -# The mode "run" only checks if the exercise compiles and runs it. -mode = "test" +# Rustlings expects the exercise to contain tests and run them. +# You can optionally disable testing by setting `test` to `false` (the default is `true`). +# In that case, the exercise will be considered done when it just successfully compiles. +# test = true + +# Rustlings will always run Clippy on exercises. +# You can optionally set `strict_clippy` to `true` (the default is `false`) to only consider +# the exercise as done when there are no warnings left. +# strict_clippy = false # A multi-line hint to be shown to users on request. hint = """???""" |
