exercism / exercism/configlet

create: `invalidator` not set in generated `.meta/config.json`

Open
#859 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Nim
Stars
23
Forks
17
Avg merge
13h 57m
Merged PRs (30d)
1

Description

I was playing around with `configlet create` and noticed that the generated `.meta/config.json` does not contain the `invalidator` property, even though it's set in the `files` object of the track's `config.json`:

Track config:
```json
{
"files": {
"solution": [
"src/main/java/%{pascal_slug}.java"
],
"test": [
"src/test/java/%{pascal_slug}Test.java"
],
"example": [
".meta/src/reference/java/%{pascal_slug}.java"
],
"exemplar": [
".meta/src/reference/java/%{pascal_slug}.java"
],
"invalidator": [
"build.gradle"
]
}
}
```

Command:

```sh
bin/configlet create --concept-exercise foobar
```

Generated `.meta/config.json`:

```json
{
"authors": [],
"files": {
"solution": [
"src/main/java/Foobar.java"
],
"test": [
"src/test/java/FoobarTest.java"
],
"exemplar": [
".meta/src/reference/java/Foobar.java"
]
},
"blurb": ""
}
```

Interestingly enough, it _does_ create the `build.gradle` file itself.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.