Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.13] Fix formatting of code snippet on custom tasks howto page #483

Merged
merged 1 commit into from
Sep 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/reference/04-Howto/13-Howto-Custom-Tasks.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
Define Custom Tasks
Define Custom Tasks
-------------------

### Define a Task that runs tests in specific sub-projects

Consider a hypothetical multi-build project with 3 subprojects. The following defines a task `myTestTask` that will
Consider a hypothetical multi-build project with 3 subprojects. The following defines a task `myTestTask` that will
run the `test` Task in specific subprojects `core` and `tools` but not `client`:

```
```scala
lazy val core = project.in(file("./core"))

lazy val tools = project.in(file("./tools"))

lazy val client = project.in(file("./client"))

lazy val myTestTask = TaskKey[Unit]("my-test-task")
Expand All @@ -19,4 +17,4 @@ myTestTask <<= Seq(
test in (core, Test)
test in (tools, Test)
).dependOn
```
```