Move cache to install directory, fixes #4

This commit is contained in:
Mark Dalgleish 2014-06-24 08:28:52 +10:00
parent 2824fd7ee9
commit 7834240b67
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) {