Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IncludeFilter and ExcludeFilter not working? #26

Open
jvican opened this issue Oct 31, 2016 · 2 comments
Open

IncludeFilter and ExcludeFilter not working? #26

jvican opened this issue Oct 31, 2016 · 2 comments

Comments

@jvican
Copy link
Member

jvican commented Oct 31, 2016

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 := "[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.

@timothyklim
Copy link

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.

@timothyklim
Copy link

@eed3si9n can you release 0.5.5, please? It's unusable without excludeFilter for CNAME file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants