parent
f52f7da5eb
commit
e7a3d65cad
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
//
|
||||||
|
// LESS - Leaner CSS v@VERSION
|
||||||
|
// http://lesscss.org
|
||||||
|
//
|
||||||
|
// Copyright (c) 2010, Alexis Sellier
|
||||||
|
// Licensed under the MIT license.
|
||||||
|
//
|
@ -0,0 +1,24 @@
|
|||||||
|
#
|
||||||
|
# Run all tests
|
||||||
|
#
|
||||||
|
|
||||||
|
expresso = ./node_modules/.bin/mocha
|
||||||
|
docco = ./node_modules/.bin/docco
|
||||||
|
|
||||||
|
lint:
|
||||||
|
./node_modules/.bin/jshint lib/carto/*.js lib/carto/tree/*.js
|
||||||
|
|
||||||
|
ifndef only
|
||||||
|
test:
|
||||||
|
@NODE_PATH=./lib:$NODE_PATH $(expresso) -R spec -I lib test/*.test.js
|
||||||
|
else
|
||||||
|
test:
|
||||||
|
@NODE_PATH=./lib:$NODE_PATH $(expresso) -R spec -I lib test/${only}.test.js
|
||||||
|
endif
|
||||||
|
|
||||||
|
check: test
|
||||||
|
|
||||||
|
doc:
|
||||||
|
$(docco) lib/carto/*.js lib/carto/tree/*.js
|
||||||
|
|
||||||
|
.PHONY: test
|
Loading…
Reference in new issue