-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add destination "directory_name"
option.
#49
Conversation
@@ -41,11 +46,15 @@ module.exports = { | |||
} | |||
|
|||
function copy() { | |||
return runCommand('cp -R dist/* .', execOptions); | |||
if (options.destination === '.') { |
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.
Unmatched '{'.
} | ||
|
||
function addAndCommit() { | ||
return runCommand('git add . && git commit -m "' + options.message + '"', execOptions) | ||
return runCommand('git -c core.safecrlf=false add "' + options.destination + '"' + |
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.
Line is too long.
I assume the line length style issues are okay. I shortened the lines, but not at the expense of semantic clarity. I also have no idea what |
destination "directoy_name"
option.destination "directory_name"
option.
Will do testing on osx before releasing. |
Thanks so much for the quick response, @knownasilya! Please post back in this issue if you find anything (so I can warn my Mac-loving co-consipirators). If/when you release, I'll update |
Released as v0.1.0 |
Over at
ember-paper
, we are using your excellent add-on to build two different branches into two different dummy apps. Having this destination option will make it easy for us to continue to use the workflow you created. Thanks for the consideration.Note: I had some difficulty getting this to work with both Windows and Linux. Testing on mac and linux would be awesome, as I tested only on windows. It is a touch difficult since windows runs the commands with
cmd.exe
, not bash.