Skip to content

Commit 1c4df29

Browse files
Merge branch 'main' into fix/dup-alias-t
2 parents 17838bd + f47c9b4 commit 1c4df29

File tree

7 files changed

+17
-4
lines changed

7 files changed

+17
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ The exercism CLI follows [semantic versioning](http://semver.org/).
88

99
- **Your contribution here**
1010

11+
## v3.4.2 (2024-08-20)
12+
13+
- [#1156](https://github.com/exercism/cli/pull/1156) Add `test` command to Shell completions -
14+
[@muzimuzhi]
15+
1116
## v3.4.1 (2024-08-15)
1217

1318
- [#1152](https://github.com/exercism/cli/pull/1152) Add support for Idris to `exercism test` -

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _Note: It's useful to add the version to the commit message when you bump it: e.
2424
Once the version bump PR has been merged, run the following command to cut a release:
2525

2626
```shell
27-
GPG_FINGERPINT="<THE_GPG_FINGERPRINT>" ./bin/release.sh
27+
GPG_FINGERPRINT="<THE_GPG_FINGERPRINT>" ./bin/release.sh
2828
```
2929

3030
## Cut Release on GitHub

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// Version is the version of the current build.
1111
// It follows semantic versioning.
12-
const Version = "3.4.1"
12+
const Version = "3.4.2"
1313

1414
// checkLatest flag for version command.
1515
var checkLatest bool

shell/exercism.fish

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ complete -f -c exercism -n "__fish_seen_subcommand_from download" -s u -l uuid -
1515

1616
# Help
1717
complete -f -c exercism -n "__fish_use_subcommand" -a "help" -d "Shows a list of commands or help for one command"
18-
complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit troubleshoot upgrade version workspace"
18+
complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit test troubleshoot upgrade version workspace"
1919

2020
# Open
2121
complete -f -c exercism -n "__fish_use_subcommand" -a "open" -d "Opens a browser to exercism.io for the specified submission."
@@ -25,6 +25,10 @@ complete -f -c exercism -n "__fish_seen_subcommand_from open" -s h -l help -d "h
2525
complete -f -c exercism -n "__fish_use_subcommand" -a "submit" -d "Submits a new iteration to a problem on exercism.io."
2626
complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for submit"
2727

28+
# Test
29+
complete -f -c exercism -n "__fish_use_subcommand" -a "test" -d "Run the exercise's tests."
30+
complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for test"
31+
2832
# Troubleshoot
2933
complete -f -c exercism -n "__fish_use_subcommand" -a "troubleshoot" -d "Outputs useful debug information."
3034
complete -f -c exercism -n "__fish_seen_subcommand_from troubleshoot" -s f -l full-api-key -d "display full API key (censored by default)"

shell/exercism_completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _exercism () {
77
opts="--verbose --timeout"
88

99
commands="configure download open
10-
submit troubleshoot upgrade version workspace help"
10+
submit test troubleshoot upgrade version workspace help"
1111
config_opts="--show"
1212
version_opts="--latest"
1313

shell/exercism_completion.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ options=(configure:"Writes config values to a JSON file."
88
download:"Downloads and saves a specified submission into the local system"
99
open:"Opens a browser to exercism.io for the specified submission."
1010
submit:"Submits a new iteration to a problem on exercism.io."
11+
test:"Run the exercise's tests."
1112
troubleshoot:"Outputs useful debug information."
1213
upgrade:"Upgrades to the latest available version."
1314
version:"Outputs version information."

workspace/test_configurations.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ var TestConfigurations = map[string]TestConfiguration{
7474
"ballerina": {
7575
Command: "bal test",
7676
},
77+
"batch": {
78+
WindowsCommand: "call {{test_files}}",
79+
},
7780
"bash": {
7881
Command: "bats {{test_files}}",
7982
},

0 commit comments

Comments
 (0)