Sha256: 3ba2252a68dbc82c0528dc1c137ae6d7828bdfc48979b0a196b055e86254c58a
Contents?: true
Size: 1.68 KB
Versions: 6
Compression:
Stored size: 1.68 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', 'Gruntfile.coffee'], ['Gruntfile.coffee'] @copy ['application', 'standalone', 'Procfile'], ['Procfile'] @copy ['application', 'standalone', 'source', 'haml', 'index.haml'], ['source', 'haml', 'index.haml'] @copy ['application', 'standalone', 'source', 'stylesheets', 'application.styl'], ['source', 'stylesheets', 'application.styl'] @copy ['application', 'standalone', 'tasks', 'spec.coffee'], ['tasks', 'spec.coffee'] @copy ['application', 'standalone', 'spec', 'helpers', 'environment.coffee'], ['spec', 'helpers', 'environment.coffee'] @copy ['application', 'standalone', 'spec', 'application_spec.coffee'], ['spec', 'application_spec.coffee'] @template ['application', 'standalone', 'bower.json'], ['bower.json'], application: @options.name @template ['application', 'standalone', 'package.json'], ['package.json'], joosy_version: @version() @actions if module? module.exports = ProjectStandalone else @Generator = ProjectStandalone
Version data entries
6 entries across 6 versions & 1 rubygems