Skip to content

Commit

Permalink
initial tests for aurelia, #175
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmdantas committed Jul 29, 2016
1 parent e153dc1 commit 8af3ba3
Show file tree
Hide file tree
Showing 3 changed files with 854 additions and 1 deletion.
10 changes: 9 additions & 1 deletion _ng/client/aurelia.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class Aurelia1 {
yoUtils.directory(this.generator, _pathTest, this.generator);
}

if (this.generator.stack === "client") {
this.generator.template('_aurelia_jspm_config_serving_from_root.js', 'jspm.config.js');
} else {
this.generator.template('_aurelia_jspm_config_serving_from_jspm_packages.js', 'jspm.config.js');
}

this.generator.template('tasks/client/aurelia1/watch.js', 'tasks/client/watch.js', {secure: !!this.generator.secure});
}

Expand All @@ -42,7 +48,9 @@ class Aurelia1 {
});

this.generator.template(_pathTemplate + 'aurelia1/component.html',
`${knownPaths.PATH_CLIENT_FEATURES + this.generator.options.feature}/components/${this.generator.name}.html`
`${knownPaths.PATH_CLIENT_FEATURES + this.generator.options.feature}/components/${this.generator.name}.html`, {
name: this.generator.name
}
);

this.generator.template(_pathTemplate + 'aurelia1/component.css',
Expand Down
Loading

0 comments on commit 8af3ba3

Please sign in to comment.