Sha256: 217ba5989b542ea0dddf1fb02ee50261cbed71c1f6ead18ff74519cd38de4d11
Contents?: true
Size: 1.14 KB
Versions: 15
Compression:
Stored size: 1.14 KB
Contents
@Base = require '../base' if module? # # Possible options: # # name: name of project # class ProjectStandalone extends @Base constructor: (@options, destination, templates) -> destination = @join process.cwd(), @options.name if !destination? && process? super(@options, destination, templates) generate: -> @file ['public', '.gitkeep'] @file ['vendor', '.gitkeep'] @copy ['application', 'standalone', '.gitignore'], ['.gitignore'] @copy ['application', 'standalone', 'bower.json'], ['bower.json'] @copy ['application', 'standalone', 'Gruntfile.coffee'], ['Gruntfile.coffee'] @copy ['application', 'standalone', 'Procfile'], ['Procfile'] @copy ['application', 'standalone', 'source', 'index.haml'], ['source', 'index.haml'] @copy ['application', 'standalone', 'stylesheets', 'application.styl'], ['stylesheets', 'application.styl'] @template ['application', 'standalone', 'package.json'], ['package.json'], joosy_version: @version() @actions if module? module.exports = ProjectStandalone else @Generator = ProjectStandalone
Version data entries
15 entries across 15 versions & 1 rubygems