mirror of https://github.com/espruino/BangleApps
Fixing sanitycheck errors from recent PRs
parent
41cf7fbff2
commit
7ff958ad2c
|
@ -848,13 +848,14 @@
|
||||||
"custom":"grocery.html",
|
"custom":"grocery.html",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"grocery"},
|
{"name":"grocery"},
|
||||||
{"name":"grocery.app.js"}
|
{"name":"grocery.app.js"},
|
||||||
|
{"name":"grocery.img","url":"grocery-icon.js","evaluate":true}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ "id": "marioclock",
|
{ "id": "marioclock",
|
||||||
"name": "Mario Clock",
|
"name": "Mario Clock",
|
||||||
"icon": "marioclock.png",
|
"icon": "marioclock.png",
|
||||||
"version":"0.01",
|
"version":"0.02",
|
||||||
"description": "Animated Mario clock, jumps to change the time!",
|
"description": "Animated Mario clock, jumps to change the time!",
|
||||||
"tags": "clock,mario,retro",
|
"tags": "clock,mario,retro",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
require("heatshrink").decompress(atob("mEwwhC/AFEEolAC6lN7vdDCcECwPd6guVGCYuDC4cCBQMikQXQJAMjkECmcyIx4XDmUjmYvLC4XUDARHBIoIWLgATCGQdA7tEonQC5ouDDYg0BOxgSEAggwKRwgUCC6ZIDSwoXNogWDDgNCAgIWIkUEoUk6kiCgMkokipsiBIQXIki2CAgNCAoYADC5Eic4Mic4ICCAIIJCC5MzAAcykYGEAAIXOABAXTmUzGoIXVAIIXLB4SICDIovjO76PZbYR3PDI4XiI6530MIh3SC6R33C/oAOC48CCxsgC44A/ADY="))
|
|
@ -1,5 +1,5 @@
|
||||||
0.01 Original App
|
0.01: Original App
|
||||||
0.02 Lap log now counts up from 1
|
0.02: Lap log now counts up from 1
|
||||||
Lap log now scrolls into 2nd column after 18th entry, able to display 36 entries before going off screen
|
Lap log now scrolls into 2nd column after 18th entry, able to display 36 entries before going off screen
|
||||||
0.03 Added ability to save Lap log as a date named JSON file into memory
|
0.03: Added ability to save Lap log as a date named JSON file into memory
|
||||||
Fixed bug from 0.01 where BN1 (reset) could clear the lap log when timer is running
|
Fixed bug from 0.01 where BN1 (reset) could clear the lap log when timer is running
|
||||||
|
|
|
@ -51,7 +51,9 @@ apps.forEach((app,addIdx) => {
|
||||||
if (app.version != "0.01")
|
if (app.version != "0.01")
|
||||||
WARN(`App ${app.id} has no ChangeLog`);
|
WARN(`App ${app.id} has no ChangeLog`);
|
||||||
} else {
|
} else {
|
||||||
var versions = fs.readFileSync(appDir+"ChangeLog").toString().match(/\d+\.\d+:/g);
|
var changeLog = fs.readFileSync(appDir+"ChangeLog").toString();
|
||||||
|
var versions = changeLog.match(/\d+\.\d+:/g);
|
||||||
|
if (!versions) ERROR(`No versions found in ${app.id} ChangeLog (${appDir}ChangeLog)`);
|
||||||
var lastChangeLog = versions.pop().slice(0,-1);
|
var lastChangeLog = versions.pop().slice(0,-1);
|
||||||
if (lastChangeLog != app.version)
|
if (lastChangeLog != app.version)
|
||||||
WARN(`App ${app.id} app version (${app.version}) and ChangeLog (${lastChangeLog}) don't agree`);
|
WARN(`App ${app.id} app version (${app.version}) and ChangeLog (${lastChangeLog}) don't agree`);
|
||||||
|
|
Loading…
Reference in New Issue