Skip to content

Commit 4e5e693

Browse files
committed
Update blueprint and file search paths
1 parent 592845c commit 4e5e693

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

ts/addon.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ module.exports = {
3737
}
3838
},
3939

40+
blueprintsPath() {
41+
return `${__dirname}/blueprints`;
42+
},
43+
4044
shouldIncludeChildAddon(addon) {
4145
// For testing, we have dummy in-repo addons set up, but e-c-ts doesn't depend on them;
4246
// its dummy app does. Otherwise we'd have a circular dependency.

ts/blueprints/ember-cli-typescript/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ module.exports = {
155155
return this.addPackagesToProject(packages);
156156
},
157157

158+
filesPath() {
159+
return `${__dirname}/../../../blueprint-files/ember-cli-typescript`;
160+
},
161+
158162
files() {
159163
let files = this._super.files.apply(this, arguments);
160164

ts/tests/helpers/skeleton-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = class SkeletonApp {
1010
constructor() {
1111
this._watched = null;
1212
this.root = mktemp.createDirSync('test-skeleton-app-XXXXXX');
13-
fs.copySync(`${__dirname}/../fixtures/skeleton-app`, this.root);
13+
fs.copySync(`${__dirname}/../../../test-fixtures/skeleton-app`, this.root);
1414
}
1515

1616
build() {

0 commit comments

Comments
 (0)