> checkSources Foo.scala

> compile

> set Compile / excludeFilter := HiddenFileFilter

> checkSources Foo.scala Bar.scala

-> compile

> set Compile / unmanagedSources / excludeFilter := oldExcludeFilter.value

> compile

> set Compile / unmanagedSources / excludeFilter := HiddenFileFilter

-> compile

> set Compile / unmanagedSources / fileInputIncludeFilter := newFilter.value

> compile