Skip to content
Snippets Groups Projects
Commit 96e101ef authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Remove git from build

parent fa2918f7
Branches
No related tags found
No related merge requests found
......@@ -68,8 +68,18 @@ rendersass();
// STATIC FILES
var fsextra = require('node-fs-extra');
tasks+=2;
fsextra.copy('static',builddir,function(){console.log("copy static done");onDone();});
fsextra.copy('theme/static',builddir,function(){console.log("copy theme static done");onDone();});
fsextra.copy(
'static',
builddir,
function(file){ return !file.match(".git") },
function(){console.log("copy static done");onDone();}
);
fsextra.copy(
'theme/static',
builddir,
function(file){ return !file.match(".git") },
function(){console.log("copy theme static done");onDone();}
);
// DEVEL INCOMING
if(process.argv[2] !== "compileonly") {
......
mkdir -p nove.ok1kvk.cz
fusermount -u nove.ok1kvk.cz
sshfs -p 2121 ok1kvk.cz-nove@ok1kvk.cz: nove.ok1kvk.cz -o allow_other
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment