-
-
Notifications
You must be signed in to change notification settings - Fork 27
Conversation
I'll review later tonight. |
07cb21c
to
72910e3
Compare
@twokul there was a typo that was causing a failure. This should be passing now. |
72910e3
to
19e759f
Compare
@@ -29,6 +29,9 @@ function EmberBuild(options) { | |||
|
|||
if (options && options.packages) { | |||
this._packages = options.packages; | |||
this._name = options.name || 'ember'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this._name
, this._namespace
and this._skipRuntime
should be initialized as null
in init
method so object shape stays the same.
19e759f
to
01c7d09
Compare
this._name = null; | ||
this._namespace = null; | ||
this._skipRuntime = null; | ||
this._skipTemplates = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@twokul @rwjblue are skipTemplates
and skipRuntime
a good idea to pass in as options?
Should they live in build-config.js
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seanpdoyle actually, good point. It seems like we don't need to dynamically include/exclude runtime or template compiler (happens once per build). So I think it's fine for it to be a environment flag.
65a64c7
to
40b24e7
Compare
@twokul moved to CLI arguments and ready for another look |
@twokul actually, moving the config to ENV variables is problematic. We're moving config from Ember Data's
So we can either leave the config in "build": "SKIP_TEMPLATES=true SKIP_RUNTIME=true NAME=ember-data NAMESPACE=DS ember build",
"pretest": "SKIP_TEMPLATES=true SKIP_RUNTIME=true NAME=ember-data NAMESPACE=DS ember build",
"start": "SKIP_TEMPLATES=true SKIP_RUNTIME=true NAME=ember-data NAMESPACE=DS ember serve" |
@seanpdoyle I thought you could set environment variables in |
@twokul won't that only come into effect in CI? |
@seanpdoyle yeah, we should probably keep it in |
40b24e7
to
01c7d09
Compare
Changes driven by attempting to integrate with [emberjs/data][1] * configure an output build name and namespace * skip building template compiler * skip building the runtime [1]: https://github.com/emberjs/data
01c7d09
to
5dcd0de
Compare
@seanpdoyle thanks man! |
@twokul this is still of a work in progress. Expect more config based PRs until I can figure out how to get ember data building properly. |
Changes driven by attempting to integrate with emberjs/data