Skip to content

[Support] how to use gem.files.include and gem.files.exclude #6

Description

@brodock

I tried to follow documentation on README, but it seems to be missing something.

I'm trying to do the modifications inside the Juwelier::Tasks.new do |gem| block:

Juwelier::Tasks.new do |gem|
  # gem.name ... 
  gem.files.exclude('folder')
end

I still get files inside that folder in the generated gemspec.

After I tried:

Juwelier::Tasks.new do |gem|
  # gem.name ... 
  gem.files = Rake::FileList[]
  gem.files.include('lib')
  gem.files.exclude('benchmark')
end

But then no files are added at all.

What I'm missing here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions