Skip to content

Commit 212d3f8

Browse files
authored
Merge pull request #75 from matejcerny/language-specific-tasks
Add language specific tasks (sbt)
2 parents 2781b51 + 350509e commit 212d3f8

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Following are example tasks that you can add to your editor, to know more about
187187
"label": "Run current test suite with bloop",
188188
"command": "bloop test $(basename $ZED_WORKTREE_ROOT) -o \"*$ZED_STEM*\"",
189189
"reveal": "no_focus",
190-
"tags": ["scala-test"],
190+
"tags": ["scala-test"]
191191
}
192192
```
193193

languages/scala/tasks.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[
2+
{
3+
"label": "sbt clean",
4+
"command": "sbt --client clean",
5+
"reveal": "no_focus"
6+
},
7+
{
8+
"label": "sbt compile",
9+
"command": "sbt --client compile",
10+
"reveal": "no_focus"
11+
},
12+
{
13+
"label": "sbt test",
14+
"command": "sbt --client test",
15+
"reveal": "no_focus"
16+
},
17+
{
18+
"label": "sbt testOnly *$ZED_STEM",
19+
"command": "sbt --client 'testOnly *$ZED_STEM'",
20+
"reveal": "no_focus",
21+
"tags": ["scala-test"]
22+
},
23+
{
24+
"label": "sbt run",
25+
"command": "sbt --client run",
26+
"reveal": "no_focus",
27+
"tags": ["scala-main"]
28+
}
29+
]

0 commit comments

Comments
 (0)