-
Notifications
You must be signed in to change notification settings - Fork 37
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
Ensure ./tmp dir exists #8
Conversation
👍 |
@rondale-sc - Should be ready for release when you have a chance. |
} | ||
}, | ||
tmpDir: function() { | ||
path.join(process.cwd(), 'tmp'); |
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.
Shouldn't there be return
here?
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.
Yes, sure...I messed it up when doing rebase for the PR...
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.
LOL, WHOOPS
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.
Sorry, my bad, should have tested the final version of PR 😳
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.
@jesenko - Mind submitting a fixing PR?
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.
Just did, PR #9
On 25 Jan 2015, at 18:32, Robert Jackson notifications@github.com wrote:
In index.js:
}
},
- lockfilePath: function() {
- return path.join(process.cwd(), 'tmp', 'build.lock');
- ensureTmp: function() {
- var dir = this.tmpDir();
- if (!fs.existsSync(dir)){
fs.mkdirSync(dir);
- }
- },
- tmpDir: function() {
- path.join(process.cwd(), 'tmp');
@jesenko - Mind submitting a fixing PR?—
Reply to this email directly or view it on GitHub.
Building of ember app fails if
./tmp
folder within ember-cli root does not exist asbuild.lock
file cannot be created.Normally
./tmp
folder is created in ember-cli build process; if ember-cli-rails-addon is added prior to first successful build,./tmp
folder does not yet exist.This PR ensures that tmp folder exists. It also fixes some syntax errors related to scoping of variables introduced in previous commit.