Skip to content

Commit

Permalink
Merge pull request #1 from secretrobotron/t373
Browse files Browse the repository at this point in the history
[t373] Added check-tests for linting tests
  • Loading branch information
mjschranz committed Jul 13, 2012
2 parents 0252dd6 + 168cd57 commit 8d96147
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ var path = require( "path" ),

DOCS_DIR = 'docs',

TEST_DIR = 'test',

DEFAULT_CONFIG = './src/default-config',

CSS_DIR = 'css',
Expand Down Expand Up @@ -159,6 +161,10 @@ target['check-lint'] = function( dir ) {
checkJS( SRC_DIR );
};

target['check-tests'] = function( dir ) {
checkJS( TEST_DIR );
};

// If compress is true, crush CSS down, otherwise leave expanded.
function lessToCSS( compress ){
echo( "### Building CSS using LESS (" +
Expand Down
2 changes: 1 addition & 1 deletion test/config/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global text,expect,ok,module,notEqual,Butter,test,window*/
/*global text,expect,ok,module,notEqual,Butter,test,window,equal,raises,deepEqual*/
(function (window, undefined) {

require( [ "../src/core/config" ], function( Config ){
Expand Down

0 comments on commit 8d96147

Please sign in to comment.