Hi guys!
I’m playing with building a gem that is extension to hanami-cli. Basically, adds bulma support for template generators. When you’ll type: hanami g view whatever
, or hanami g slice
, it’ll return pre-built bulma templates.
I want to override the executable hanami
command, when installed in Gemfile, the command does not seem to e recognised.
Here is the gem draft:
https://github.com/swilgosz/hanami-bulma_cli
I do have exe/hanami
executable, and I do have the necessary executables in the *gemspec
file.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
What did I overlook?