You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom generators template used to work well. But since version 3, the template gets registered but when you try to init a new project you always get the files from the blank template.
module Locomotive
module Wagon
module Generators
module Site
class DfBlank < Base
def self.source_root
File.join(File.dirname(__FILE__), 'df_blank')
end
def bundle_install
super
end
end
Locomotive::Wagon::Generators::Site.register(:df_blank, DfBlank, %{
D-facto blank site with the minimal HAML files.
})
end
end
end
end
The text was updated successfully, but these errors were encountered:
Custom generators template used to work well. But since version 3, the template gets registered but when you try to init a new project you always get the files from the blank template.
The generator gets correctly listed when using
This is the generator definition.
The text was updated successfully, but these errors were encountered: