Permalink
Browse files

Updates for Travis CI integration

  • Loading branch information...
1 parent 57b35d4 commit 0800bd3f8cabdad844e04b43690b93572ba9982e @arthurakay committed Feb 26, 2013
Showing with 15 additions and 7 deletions.
  1. +3 −0 .travis.yml
  2. +3 −0 CHANGELOG
  3. +1 −1 docs/output/LintRoller.js
  4. +1 −1 docs/source/LintRoller.html
  5. +1 −2 hooks/pre-commit
  6. +3 −0 hooks/pre-commit.js
  7. +2 −2 package.json
  8. +1 −1 src/LintRoller.js
View
@@ -0,0 +1,3 @@
+language: node_js
+node_js:
+ - 0.8
View
@@ -1,6 +1,9 @@
===============
VERSION 2.x
===============
+Version 2.2.3 (February 26, 2013)
+ - Added support for Travis CI (namely the "test" script)
+ - Updated hooks
Version 2.2.2 (February 8, 2013)
- Added removeBom() utility and example

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -41,7 +41,7 @@
</span> * @class LintRoller
* @author Arthur Kay (http://www.akawebdesign.com)
* @singleton
- * @version 2.2.2
+ * @version 2.2.3
*
* GitHub Project: http://arthurakay.github.com/LintRoller/
*/
View
@@ -13,8 +13,7 @@ function checkError {
echo "*** Checking JavaScript for lint... ***"
#run LintRunner
-cd hooks
-node pre-commit.js
+node hooks/pre-commit.js
checkError $?
View
@@ -1,3 +1,6 @@
+//Assumes the script is run from the module's root
+process.chdir('hooks');
+
var LintRoller = require('../src/lintroller');
var config = {
View
@@ -1,7 +1,7 @@
{
"name" : "lintroller",
"preferGlobal" : "true",
- "version" : "2.2.2",
+ "version" : "2.2.3",
"author" : "Arthur Kay <art@akawebdesign.com>",
"description" : "Lint your JavaScript code and output errors to a log file. Convenient for pre-commit hooks and build systems to maintain code quality.",
@@ -14,7 +14,7 @@
],
"scripts" : {
-
+ "test" : "node hooks/pre-commit.js"
},
"main" : "./src/LintRoller.js",
View
@@ -24,7 +24,7 @@
* @class LintRoller
* @author Arthur Kay (http://www.akawebdesign.com)
* @singleton
- * @version 2.2.2
+ * @version 2.2.3
*
* GitHub Project: http://arthurakay.github.com/LintRoller/
*/

0 comments on commit 0800bd3

Please sign in to comment.