Skip to content

IncludeFilter and ExcludeFilter not working? #26

@jvican

Description

@jvican

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions