Sha256: 40cb06f74dbe540ef052f22ba722e855ba17a72d4e6c5e0e70e0fac3cbc7aacd
Contents?: true
Size: 337 Bytes
Versions: 18
Compression:
Stored size: 337 Bytes
Contents
class CustomProjectGenerator < BPM::ProjectGenerator def require_path "#{name}/main.js" end private def create_files empty_directory "lib" inside "lib" do template "main.js" end template "app.js" end end BPM.register_generator('custom_generator', :project, CustomProjectGenerator)
Version data entries
18 entries across 18 versions & 1 rubygems