Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make a few changes to package.json (add make test to makefile)

  • Loading branch information...
commit 1160935446e06339d8c7e09415d57086746fbce5 1 parent de9271b
@fat fat authored
Showing with 16 additions and 7 deletions.
  1. +1 −2  .travis.yml
  2. +8 −0 Makefile
  3. +7 −5 package.json
View
3  .travis.yml
@@ -1,4 +1,3 @@
language: node_js
node_js:
- - 0.6
-script: "make build"
+ - 0.6
View
8 Makefile
@@ -36,6 +36,14 @@ build:
@echo "Thanks for using Bootstrap,"
@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
View
12 package.json
@@ -1,22 +1,24 @@
{
- "name": "bootstrap"
+ "name": "bootstrap"
, "description": "HTML, CSS, and JS toolkit from Twitter."
, "version": "2.0.3"
, "keywords": ["bootstrap", "css"]
, "homepage": "http://twitter.github.com/bootstrap/"
, "author": "Twitter Inc."
+ , "scripts": { "test": "make test" }
, "repository": {
- "type": "git"
+ "type": "git"
, "url": "https://github.com/twitter/bootstrap.git"
}
, "licenses": [
- { "type": "Apache-2.0"
+ {
+ "type": "Apache-2.0"
, "url": "http://www.apache.org/licenses/LICENSE-2.0"
}
]
, "devDependencies": {
- "uglify-js": "*"
+ "uglify-js": "*"
, "jshint": "*"
, "recess": "*"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.