Added make min for minification though google's js closure compiler.

This commit is contained in:
cloudhead 2010-03-18 14:35:56 -04:00 committed by javi
parent f52f7da5eb
commit e7a3d65cad
3 changed files with 31 additions and 0 deletions

BIN
build/compiler.jar Normal file

Binary file not shown.

7
build/header.js Normal file
View File

@ -0,0 +1,7 @@
//
// LESS - Leaner CSS v@VERSION
// http://lesscss.org
//
// Copyright (c) 2010, Alexis Sellier
// Licensed under the MIT license.
//

24
makefile Normal file
View File

@ -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