Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Closes #183 Added TravisCI support.

Also removed the fs.unlinkSync from cluster/master because fs.renameSync works in 0.6-0.8 in Unices and Windows. So now as a backup just call utilities.file.cpR.
  • Loading branch information...
commit 88bc3e241946f51e477b14a55e59fbd4b3313b86 1 parent 52221f2
@larzconwell larzconwell authored
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: node_js
+node_js:
+ - 0.8
+ - 0.6
+
+install: jake utilities handlebars jade
View
2  README.md
@@ -1,6 +1,8 @@
## Geddy web framework for Node.js
- - -
+[![build status](https://secure.travis-ci.org/mde/geddy.png)](http://travis-ci.org/mde/geddy)
+
### Goals
* Easy to use
View
7 lib/cluster/master.js
@@ -123,10 +123,9 @@ Master.prototype = new (function () {
fs.renameSync(currentLog, archivedLog);
}
catch(e) {
- // cpR doesn't work correctly on Windows either, just blow
- // away the fucking log
- //file.cpR(currentLog, archivedLog);
- fs.unlinkSync(currentLog);
+ // Node 0.6-0.8 renameSync works correctly(Including Windows),
+ // but just in case.
+ file.cpR(currentLog, archivedLog);
}
}
View
3  package.json
@@ -16,6 +16,9 @@
"bin": {
"geddy": "./bin/cli.js"
},
+ "scripts": {
+ "test": "jake test"
+ },
"main": "./lib/geddy",
"repository": {
"type": "git",
Please sign in to comment.
Something went wrong with that request. Please try again.