mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 15:16:51 +02:00
make a few changes to package.json (add make test to makefile)
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 0.6
|
- 0.6
|
||||||
script: "make build"
|
|
||||||
|
8
Makefile
8
Makefile
@@ -36,6 +36,14 @@ build:
|
|||||||
@echo "Thanks for using Bootstrap,"
|
@echo "Thanks for using Bootstrap,"
|
||||||
@echo "<3 @mdo and @fat\n"
|
@echo "<3 @mdo and @fat\n"
|
||||||
|
|
||||||
|
#
|
||||||
|
# RUN JSHINT
|
||||||
|
# TODO: run unittests
|
||||||
|
#
|
||||||
|
|
||||||
|
test:
|
||||||
|
jshint js/*.js --config js/.jshintrc
|
||||||
|
jshint js/tests/unit/*.js --config js/.jshintrc
|
||||||
|
|
||||||
#
|
#
|
||||||
# BUILD SIMPLE BOOTSTRAP DIRECTORY
|
# BUILD SIMPLE BOOTSTRAP DIRECTORY
|
||||||
|
@@ -5,12 +5,14 @@
|
|||||||
, "keywords": ["bootstrap", "css"]
|
, "keywords": ["bootstrap", "css"]
|
||||||
, "homepage": "http://twitter.github.com/bootstrap/"
|
, "homepage": "http://twitter.github.com/bootstrap/"
|
||||||
, "author": "Twitter Inc."
|
, "author": "Twitter Inc."
|
||||||
|
, "scripts": { "test": "make test" }
|
||||||
, "repository": {
|
, "repository": {
|
||||||
"type": "git"
|
"type": "git"
|
||||||
, "url": "https://github.com/twitter/bootstrap.git"
|
, "url": "https://github.com/twitter/bootstrap.git"
|
||||||
}
|
}
|
||||||
, "licenses": [
|
, "licenses": [
|
||||||
{ "type": "Apache-2.0"
|
{
|
||||||
|
"type": "Apache-2.0"
|
||||||
, "url": "http://www.apache.org/licenses/LICENSE-2.0"
|
, "url": "http://www.apache.org/licenses/LICENSE-2.0"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user