Added make min
for minification though google's js closure compiler.
This commit is contained in:
parent
f52f7da5eb
commit
e7a3d65cad
BIN
build/compiler.jar
Normal file
BIN
build/compiler.jar
Normal file
Binary file not shown.
7
build/header.js
Normal file
7
build/header.js
Normal 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
24
makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user