-
-
Notifications
You must be signed in to change notification settings - Fork 197
Plamen5kov/respect shelljserrors #2364
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
tests were failing because of invalid template, fixed the template so the tests work
@@ -140,7 +140,8 @@ export class ProjectService implements IProjectService { | |||
|
|||
shelljs.cp('-R', path.join(appSourcePath, "*"), appDestinationPath); | |||
// Copy hidden files. | |||
shelljs.cp('-R', path.join(appSourcePath, ".*"), appDestinationPath); | |||
//TODO: plamen5kov: don't copy hidden files, until we find a reason to do it | |||
// shelljs.cp('-R', path.join(appSourcePath, ".*"), appDestinationPath); |
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.
Strongly disagree here. Why you need a reason for already existing code? Either remove it or keep it in the way it works today. Also I can reverse the question - why wouldn't you copy all files from template? Hidden files could be part of the template, so... why not copying them? And last - on Windows they are not hidden at all.
there was code that used sed to replace __CFBUNDLEIDENTIFIER__ into the info.plist, but there's new logic that does the same thing
This PR should allow shelljs errors to be fatal and interrupt the execution of any command if necessary. The current implementation has accounted for several places where, the errors are expected and are handled accordingly.
One more thing is the minimal project template support version is upped from
1.3.0
to1.5.0
.This PR should be merged after: telerik/mobile-cli-lib#861