Commit 959f719
authored
Add support for AVA4 (#55)
* Add support for AVA4
The cli.js-file have been moved to lib-folder, but it doesn't work as before.
I'm not 100% sure why the file was targeted instead of the .bin-one,
could have been as simple as not having to deal with .cmd in windows.
Anyway, here comes a new solution; pick the first of these:
1. node_modules/ava/cli.js
2. node_modules/.bin/ava.cmd
3. node_modules/.bin/ava
I haven't tested the .cmd one, as I don't have Windows here at the moment.
Also had to tweak the settings, hope it doesn't break.
* Update cli path calculation
Either use entrypoints/cli.mjs for >=4 or ava/cli.js for <4.
* Bumping plugin version
IIRC this was a manual step. Bumping minor.
This might even be a major, but hoping minor will do.1 parent 0171837 commit 959f719
File tree
4 files changed
+11
-3
lines changed- src/main/kotlin/no/eirikb/avatest
- actions
- settings
4 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments