sbt-ghpages
sbt-ghpages copied to clipboard
IncludeFilter and ExcludeFilter not working?
I want to prevent some files from being removed. Despite several attempts to get it working, I may have found out that includeFilter
s and excludeFilter
are not working as expected. I'm adding these settings to my project:
.settings(
ghpages.settings,
git.remoteRepo := "[email protected]:scalacenter/repo",
includeFilter in GhPagesKeys.cleanSite := NothingFilter,
excludeFilter in GhPagesKeys.cleanSite := AllPassFilter
)
Even though I'm including Nothing and excluding everything, the task ghpagesCleanSite
removes everything in the repo when it's executed. This is weird. Am I missing something here? I've seen the source code and everything looks fine.
I've the same issue because docs describe includeFilters
and excludeFilter
for sbt-ghpages >= 0.5.5-SNAPSHOT, not the current version 0.5.4.
@eed3si9n can you release 0.5.5, please? It's unusable without excludeFilter
for CNAME
file.