Skip to content

Commit 5651292

Browse files
committed
updated build
1 parent 2394082 commit 5651292

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ The.Fountain*
22
build/node_modules
33
node_modules
44
build/output
5+
build/relic

build/build.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ var outputFolder = 'output/version/' + version
1212
console.log('Building client');
1313
var startTime = Date.now();
1414

15+
fs.removeSync('relic');
1516
fs.removeSync('output');
1617
fs.mkdirSync('output');
18+
fs.mkdirSync('relic');
1719
fs.mkdirSync('output/version');
1820
fs.mkdirSync(outputFolder);
1921
var rootPath = '..';
@@ -86,9 +88,10 @@ function cssIncImages(cssFile) {
8688
fs.copy(rootPath + '/css/fonts', outputFolder +'/css/fonts', function () {
8789

8890
cssIncImages(outputFolder + '/css/styles.css');
89-
91+
fs.copy('output', 'relic', function () {
92+
9093
var endTime = (Date.now() - startTime) / 1000;
91-
94+
});
9295
});
9396
});
9497
});

0 commit comments

Comments
 (0)