Skip to content

Commit

Permalink
Include hidden template files/directories in gem
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Jun 22, 2024
1 parent 010e327 commit 3bf10cf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.0.3] - 2024-06-21

- Include hidden template files/directories in gem

## [0.0.2] - 2024-06-21

- Include templates in gem
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
foobara-empty-typescript-react-project-generator (0.0.2)
foobara-empty-typescript-react-project-generator (0.0.3)
foobara
foobara-files-generator

Expand Down
5 changes: 3 additions & 2 deletions foobara-empty-typescript-react-project-generator.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "find"
require_relative "version"

Gem::Specification.new do |spec|
Expand Down Expand Up @@ -25,11 +26,11 @@ Gem::Specification.new do |spec|
spec.files = Dir[
"lib/**/*",
"src/**/*",
"templates/**/*",
"LICENSE*.txt",
"README.md",
"CHANGELOG.md"
]
# NOTE: We can't just do "templates/**/*" because there can be hidden files/directories which are skipped
] + Find.find("templates/").select { |f| File.file?(f) }

spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"
Expand Down
2 changes: 1 addition & 1 deletion version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Foobara
module Generators
module EmptyTypescriptReactProjectGenerator
VERSION = "0.0.2".freeze
VERSION = "0.0.3".freeze
end
end
end

0 comments on commit 3bf10cf

Please sign in to comment.