sbt / sbt-ghpages

git, site and ghpages support for sbt projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IncludeFilter and ExcludeFilter not working?

jvican opened this issue · comments

commented

I want to prevent some files from being removed. Despite several attempts to get it working, I may have found out that includeFilters and excludeFilter are not working as expected. I'm adding these settings to my project:

  .settings(
    ghpages.settings,
    git.remoteRepo := "git@github.com: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.