summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-16 03:37:58 +0200
committermo8it <mo8it@proton.me>2024-04-16 03:37:58 +0200
commit87db9129bc361b88e206d1b27cb9056d2c8b00f1 (patch)
tree9935ce10b2c930f69eeb3bca023c966801b9c757 /src/dev
parent6566c5904f9463607eac15fd0072b551fac589dd (diff)
Add the mode field
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/init.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/init.rs b/src/dev/init.rs
index 73c2c20..7dd3a3e 100644
--- a/src/dev/init.rs
+++ b/src/dev/init.rs
@@ -71,6 +71,11 @@ 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"
+
# A mutli-line hint to be shown to users on request.
hint = """???"""
"#;