Skip to content

Commit

Permalink
fixes Studio-42#87, elfinder.html not copied outside build/
Browse files Browse the repository at this point in the history
  • Loading branch information
troex committed Nov 22, 2011
1 parent c620a22 commit dcacca5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ task('misc', function(){
var dst = cf[i].replace(src, '').substr(1);
copyFile(cf[i], dst);
}
// elfinder.html
var hs = path.join(src, 'build', 'elfinder.html');
var hd = path.join('elfinder.html');
copyFile(hs, hd);

// connector
var cs = path.join(src, 'php', 'connector.minimal.php');
var cd = path.join('php', 'connector.php');
Expand Down Expand Up @@ -227,6 +232,9 @@ task('clean', function(){
fs.unlinkSync(file);
}
}
if (path.join(src, 'build') != path.resolve()) {
fs.unlinkSync('elfinder.html');
}
if (src != path.resolve()) {
var ud = ['css', path.join('js', 'proxy'), path.join('js', 'i18n'), 'js', 'img', 'php', 'files'];
for (d in ud) {
Expand Down

0 comments on commit dcacca5

Please sign in to comment.