Skip to content

Commit

Permalink
Merge pull request #549 from nudemeth/1.x
Browse files Browse the repository at this point in the history
Update typo in Customizing paths page
  • Loading branch information
dwijnand authored Nov 7, 2017
2 parents 6ba3b96 + 78abdda commit e42a4f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reference/04-Howto/02-Howto-Customizing-Paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,16 @@ exclusion, the following also ignores files containing `impl` in their
name,

```scala
excludeFilter in unmanagedSources := HiddenFileFilter || "*impl*"
excludeFilter in unmanagedResources := HiddenFileFilter || "*impl*"
```

To have different filters for main and test libraries, configure
`Compile` and `Test` separately:

```scala
includeFilter in (Compile, unmanagedSources) := "*.txt"
includeFilter in (Compile, unmanagedResources) := "*.txt"

includeFilter in (Test, unmanagedSources) := "*.html"
includeFilter in (Test, unmanagedResources) := "*.html"
```

> **Note**: By default, sbt includes all files that are not hidden.
Expand Down

0 comments on commit e42a4f3

Please sign in to comment.