Last active
August 29, 2015 14:06
-
-
Save jakecraige/a23138e44f5a71f8eb39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var path = require('path'); | |
var commands = require('./lib/commands'); | |
var postBuild = require('./lib/tasks/post-build'); | |
module.exports = { | |
name: 'ember-cli-cordova', | |
blueprintsPath: function() { | |
return path.join(__dirname, 'blueprints'); | |
}, | |
includedCommands: function() { | |
return commands; | |
}, | |
cdvConfig: function() { | |
var config = this.project.config('development'); | |
if (config.cordova) { | |
return config.cordova | |
} | |
return {}; | |
}, | |
postBuild: function() { | |
return postBuild(this.project, this.cdvConfig())(); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//after init sets it | |
{ app: 'app', | |
styles: 'app/styles', | |
templates: 'app/templates', | |
addon: 'addon', | |
'addon-styles': 'addon/styles', | |
'addon-templates': 'addon/templates', | |
vendor: 'vendor-addon', | |
'test-support': 'test-support', | |
public: 'public' } | |
// when tree for is called | |
{ app: 'app-addon', | |
styles: 'app/styles', | |
templates: 'app-addon/templates', | |
addon: 'addon', | |
'addon-styles': 'addon/styles', | |
'addon-templates': 'addon/templates', | |
vendor: 'vendor-addon', | |
'test-support': 'test-support', | |
public: 'public' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.0.44-master-431aad32f5 | |
app tree | |
{ app: 'app-addon', | |
styles: 'app/styles', | |
templates: 'app-addon/templates', | |
addon: 'addon', | |
'addon-styles': 'addon/styles', | |
'addon-templates': 'addon/templates', | |
vendor: 'vendor-addon', | |
'test-support': 'test-support', | |
public: 'public' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment