Update readme, bump to 0.2.6

This commit is contained in:
Michael Morrison 2014-09-13 09:43:02 -05:00
parent fce7a53f35
commit 5bb493e83f
4 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/node_modules
/npm-debug.log

View File

@ -71,6 +71,7 @@ Supported Games
---
<!--- BEGIN GENERATED GAMES -->
* Age of Chivalry (ageofchivalry)
* Age of Empires 2 (aoe2) [[Separate Query Port](#separate-query-port)]
* Alien Arena (alienarena) [[Separate Query Port](#separate-query-port)]
@ -289,6 +290,7 @@ Supported Games
* Xpand Rally (xpandrally) [[Separate Query Port](#separate-query-port)]
* Zombie Master (zombiemaster)
* Zombie Panic: Source (zps)
<!--- END GENERATED GAMES -->
Don't see your game listed here?

View File

@ -13,9 +13,7 @@ var marker_bottom = '<!--- END GENERATED GAMES -->';
var start = readme.indexOf(marker_top);
start += marker_top.length;
while(readme.charAt(start) == "\n" || readme.charAt(start) == "\r") { start++; }
var end = readme.indexOf(marker_bottom);
var updated = readme.substr(0,start)+generated+readme.substr(end);
var updated = readme.substr(0,start)+"\n\n"+generated+"\n"+readme.substr(end);
fs.writeFileSync(readmeFilename, updated);

View File

@ -11,7 +11,7 @@
],
"main": "lib/index.js",
"author": "Michael Morrison",
"version": "0.2.5",
"version": "0.2.6",
"repository" : {
"type" : "git",
"url" : "https://github.com/sonicsnes/node-gamedig.git"