mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
5e7ff40318
No issue - moves the authentication initializer to be an instance initializer - updates dependencies - fixes error with asset-delivery not copying - fixes problem with testing by re-building ember before casper tests
16 lines
548 B
JavaScript
16 lines
548 B
JavaScript
module.exports = {
|
|
name: 'asset-delivery',
|
|
postBuild: function (results) {
|
|
var fs = this.project.require('fs-extra'),
|
|
cpd = this.project.require('ember-cli-copy-dereference'),
|
|
templateOut = '../server/views/default.hbs',
|
|
assetsOut = '../built/assets';
|
|
|
|
fs.removeSync(templateOut);
|
|
fs.removeSync(assetsOut);
|
|
fs.ensureDirSync(assetsOut);
|
|
|
|
cpd.sync(results.directory + '/index.html', templateOut);
|
|
cpd.sync(results.directory + '/assets', assetsOut);
|
|
}
|
|
};
|