From 3e3b0e27cb37fa7000f5b173ddf6178f713c4f3b Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Sun, 17 Feb 2013 21:57:53 -0600 Subject: [PATCH 1/3] Adding complexity report module --- Makefile | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4a3b9ebe..41a6bd09d 100755 --- a/Makefile +++ b/Makefile @@ -14,4 +14,7 @@ test-cov-html: unit: @NODE_ENV=test ./node_modules/.bin/mocha --recursive -R xunit --ignore-leaks > results.xml --timeout 3000 +complexity: + ./node_modules/.bin/cr lib -o complexity.txt + .PHONY: test tap test-cov test-cov-html unit lib-cov rm-lib-cov \ No newline at end of file diff --git a/package.json b/package.json index 0869d189f..5152ab7d0 100755 --- a/package.json +++ b/package.json @@ -46,7 +46,8 @@ "handlebars": ">= 1.0.8", "jade": "~0.28.1", "blanket": "1.0.x", - "travis-cov": "0.2.x" + "travis-cov": "0.2.x", + "complexity-report": "0.x.x" }, "scripts": { "test": "make test && make test-cov && make unit", From 66a825fd8c3e72ba68d747be6832b32ae6d9e44c Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Mon, 18 Feb 2013 14:15:04 -0600 Subject: [PATCH 2/3] Adding favicon example --- examples/favicon.ico | Bin 0 -> 1150 bytes examples/favicon.js | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 examples/favicon.ico create mode 100644 examples/favicon.js diff --git a/examples/favicon.ico b/examples/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..28e95e37258c0e82c5b8385265f6410f57a93016 GIT binary patch literal 1150 zcmZQzU<5(|0R|wcz>vYhz#zuJz@P!dKp~(AL>x#lFaYJy!T>s+y7MQBGyM`=Yx zMccf2^AZ*;SP%Y&D(cX7pz#9d-}{-t6#rO^4>OgJ>g&iLs-vuCA^Um^?7tWMS+dKYp-%`t*tC$&)9Nr%s(RhKcV#b}XxE z(&YaIO-=WnK6@qwliRazzwgVJFQs7WU^K{WKsUv~_*?evZ>gOz^M7(>)qkIeh{yX6 z9&$f>_MB-#PR@hHt2Q^n)ZwB}oIM*=+}-m(v~l|XfV`^z_J00 Date: Mon, 18 Feb 2013 14:51:02 -0600 Subject: [PATCH 3/3] Adding complexity report make command --- .gitignore | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 77ba16cb0..7e1574dc5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,4 @@ config.json */*/._* coverage.* lib-cov - +complexity.md diff --git a/Makefile b/Makefile index 41a6bd09d..b30510a57 100755 --- a/Makefile +++ b/Makefile @@ -15,6 +15,6 @@ unit: @NODE_ENV=test ./node_modules/.bin/mocha --recursive -R xunit --ignore-leaks > results.xml --timeout 3000 complexity: - ./node_modules/.bin/cr lib -o complexity.txt + ./node_modules/.bin/cr -o complexity.md -f markdown lib .PHONY: test tap test-cov test-cov-html unit lib-cov rm-lib-cov \ No newline at end of file