mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +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
|
# Build
|
||||||
dist/
|
dist/
|
||||||
/npm-debug.log
|
/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
|
/npm-debug.log
|
||||||
out/
|
out/
|
||||||
/src/checksum.js
|
/src/checksum.js
|
||||||
|
./src/checksum.js
|
||||||
|
./src/checksum.*
|
||||||
|
|
|
@ -5,7 +5,7 @@ var v = uuid.v1();
|
||||||
|
|
||||||
var output = [
|
var output = [
|
||||||
'var CHECKSUM = {',
|
'var CHECKSUM = {',
|
||||||
'build: \'' + v + '\'',
|
' build: \'' + v + '\'',
|
||||||
'};',
|
'};',
|
||||||
'module.exports = CHECKSUM;'
|
'module.exports = CHECKSUM;'
|
||||||
];
|
];
|
||||||
|
@ -13,7 +13,7 @@ var output = [
|
||||||
// Should output a json file, but webpack2 json-loader is broken
|
// Should output a json file, but webpack2 json-loader is broken
|
||||||
// at the moment, so we're outputting a js file instead
|
// 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)
|
if (error)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var CHECKSUM = {
|
var CHECKSUM = {
|
||||||
build: 'ce0b7300-8279-11e7-a43d-997ba01bf63f'
|
build: '6d02bf40-8284-11e7-beb2-d79b58eb094c'
|
||||||
};
|
};
|
||||||
module.exports = CHECKSUM;
|
module.exports = CHECKSUM;
|
Loading…
Reference in a new issue