-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from notmessenger/Issue107
Closes #107
- Loading branch information
Showing
8 changed files
with
70 additions
and
67 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* global require, module */ | ||
const EmberApp = require( 'ember-cli/lib/broccoli/ember-addon' ); | ||
const packageConfig = require( './package.json' ); | ||
const replace = require( 'broccoli-string-replace' ); | ||
|
||
module.exports = function( defaults ) { | ||
const app = new EmberApp( defaults, { | ||
// Add options here | ||
}); | ||
|
||
/* | ||
This build file specifes the options for the dummy test app of this | ||
addon, located in `/tests/dummy` | ||
This build file does *not* influence how the addon or the app using it | ||
behave. You most likely want to be modifying `./index.js` or app's build file | ||
*/ | ||
|
||
// Testing dependencies | ||
app.import( app.bowerDirectory + '/sinonjs/sinon.js', { | ||
type: 'test' | ||
}); | ||
|
||
app.import( app.bowerDirectory + '/sinon-qunit/lib/sinon-qunit.js', { | ||
type: 'test' | ||
}); | ||
|
||
const tree = replace( app.toTree(), { | ||
files: [ | ||
'index.html', | ||
'assets/dummy.js' | ||
], | ||
patterns: [ | ||
{ | ||
match: /REPLACE_META_DESCRIPTION/g, | ||
replacement: packageConfig.description | ||
}, { | ||
match: /REPLACE_META_KEYWORDS/g, | ||
replacement: packageConfig.keywords.join( ', ' ) + | ||
', ember, ember cli' | ||
}, { | ||
match: /REPLACE_APPLICATION_VERSION/g, | ||
replacement: packageConfig.version | ||
} | ||
] | ||
}); | ||
|
||
return tree; | ||
}; |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# http://www.robotstxt.org | ||
User-agent: * | ||
Disallow: |