You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
die "The '.files.${1}' array in the 'config.json' file is empty. Please add at least one file. See https://exercism.org/docs/building/tracks/config-json#h-files for more information."
37
+
}
38
+
39
+
required_tool jq
40
+
41
+
require_files_template "solution"
42
+
require_files_template "test"
43
+
require_files_template "example"
44
+
45
+
[[ -f ./bin/fetch-configlet ]] || die "Run this script from the repo's root directory."
- Create the test suite in $(jq -r '.test'<<<"${files}")
92
+
- The tests should be based on the canonical data at 'https://github.com/exercism/problem-specifications/blob/main/exercises/${slug}/canonical-data.json'
93
+
- Any test cases you don't implement, mark them in 'exercises/practice/${slug}/.meta/tests.toml' with "include = false"
94
+
- Create the example solution in $(jq -r '.example'<<<"${files}")
95
+
- Verify the example solution passes the tests by running 'bin/verify-exercises ${slug}'
96
+
- Create the stub solution in $(jq -r '.solution'<<<"${files}")
97
+
- Update the 'difficulty' value for the exercise's entry in the 'config.json' file in the repo's root
98
+
- Validate CI using 'bin/configlet lint' and 'bin/configlet fmt'
0 commit comments