mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Farewell checksum?!
This commit is contained in:
parent
244e6535b5
commit
763b772aed
4 changed files with 7 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -12,4 +12,5 @@ node_modules/
|
|||
# Build
|
||||
dist/
|
||||
/npm-debug.log
|
||||
out/
|
||||
out/
|
||||
v3/src/checksum.js
|
||||
|
|
2
v3/.gitignore
vendored
2
v3/.gitignore
vendored
|
@ -14,3 +14,5 @@ dist/
|
|||
/npm-debug.log
|
||||
out/
|
||||
/src/checksum.js
|
||||
./src/checksum.js
|
||||
./src/checksum.*
|
||||
|
|
|
@ -5,7 +5,7 @@ var v = uuid.v1();
|
|||
|
||||
var output = [
|
||||
'var CHECKSUM = {',
|
||||
'build: \'' + v + '\'',
|
||||
' build: \'' + v + '\'',
|
||||
'};',
|
||||
'module.exports = CHECKSUM;'
|
||||
];
|
||||
|
@ -13,7 +13,7 @@ var output = [
|
|||
// Should output a json file, but webpack2 json-loader is broken
|
||||
// at the moment, so we're outputting a js file instead
|
||||
|
||||
fs.writeFile('./src/checksum.js', output.join('\n'), function (error) {
|
||||
fs.writeFile('./src/checksum.js', output.join('\n'), { encoding: 'utf8', flag: 'w' }, function (error) {
|
||||
|
||||
if (error)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var CHECKSUM = {
|
||||
build: 'ce0b7300-8279-11e7-a43d-997ba01bf63f'
|
||||
build: '6d02bf40-8284-11e7-beb2-d79b58eb094c'
|
||||
};
|
||||
module.exports = CHECKSUM;
|
Loading…
Reference in a new issue