Merge pull request #6 from markdalgleish/move-cache-to-install-dir

Move cache to install directory, fixes #4.
This commit is contained in:
Tim Schaub 2014-06-24 16:36:22 -04:00
commit bf3a5323b0
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/node_modules/
/.cache/

View file

@ -11,7 +11,7 @@ var git = require('./git');
var copy = require('./util').copy;
function getCacheDir() {
return '.gh-pages';
return path.relative(process.cwd(), path.resolve(__dirname, '../.cache'));
}
function getRemoteUrl(dir, remote) {