-
-
Notifications
You must be signed in to change notification settings - Fork 197
Android releated commands - platform add, prepare, build and platform list #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
require("./bootstrap"); | ||
require("./options"); | ||
|
||
import errors = require("./common/errors"); | ||
errors.installUncaughtExceptionListener(); | ||
|
||
$injector.register("config", {"CI_LOGGER": false}); | ||
$injector.register("config", {"CI_LOGGER": false, PROJECT_FILE_NAME: ".tnsproject", "DEBUG": true}); |
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.
We can't ship with DEBUG: true
. I suggest you use an environment variable for the purpose, e.g. set NATIVESCRIPT_DEBUG=true
before running tns commands.
Do we need the |
export class PropertiesParser implements IPropertiesParser { | ||
public createEditor(filePath: string) { | ||
var future = new Future<any>(); | ||
propertiesParser.createEditor(filePath, (err, data) => { |
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 pattern seems repeated with the one in NodePackageManager
. Consider adding a helper similar to the one in the Q
library. https://github.com/kriskowal/q/wiki/API-Reference#qnfbindnodefunc-args
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.
It's a good idea, but I think it would be better to do it in another PR. Agree?
👍 |
Android releated commands - platform add, prepare, build and platform list
No description provided.