From f2bfb3444e78fd939698f230c801d38dcbb83d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sat, 9 Aug 2014 13:54:11 +0100 Subject: [PATCH] Documentation; make test file executable, jshint tests, add a gitignore --- .gitignore | 2 ++ README.md | 4 ++-- run_tests.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore mode change 100644 => 100755 run_tests.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c346b13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +bower_components/ +node_modules/ diff --git a/README.md b/README.md index 789b2a9..f19d5f5 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,9 @@ You can also use the latest and greatest development version of Glowing Bear at Running the tests ^^^^^^^^^^^^^^^^^ -Glowing Bear uses Karma and Jasmine to run its unit tests. To run the tests locally, you will first need to install `npm` and `bower` on your machine. +Glowing Bear uses Karma and Jasmine to run its unit tests. To run the tests locally, you will first need to install `npm` on your machine. Check out the wonderful [nvm](https://github.com/creationix/nvm) if you don't know it already, it's highly recommended. -Once this is done, you will need to retrieve the necessary packages for testing Glowing-Bear: +Once this is done, you will need to retrieve the necessary packages for testing Glowing-Bear (first, you might want to use `npm link` on any packages you have already installed globally): `$ npm install` diff --git a/run_tests.sh b/run_tests.sh old mode 100644 new mode 100755 index da07a28..7ae7475 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,2 +1,2 @@ -./node_modules/.bin/jshint js/* +./node_modules/.bin/jshint js/*.js test/unit/*.js npm test