From 5118432b82bd40c4d0a0fa670b396ef8ff1da667 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 31 May 2013 13:52:12 +0200 Subject: [PATCH] Add support for jshint reports. Integrated style-checker for javascript source code. refs #4098 --- test/js/.jshintignore | 1 + test/js/.jshintrc | 6 ++++++ test/js/checkswag.sh | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 test/js/.jshintignore create mode 100644 test/js/.jshintrc create mode 100755 test/js/checkswag.sh diff --git a/test/js/.jshintignore b/test/js/.jshintignore new file mode 100644 index 000000000..c9b36835d --- /dev/null +++ b/test/js/.jshintignore @@ -0,0 +1 @@ +../../library/vendor/** diff --git a/test/js/.jshintrc b/test/js/.jshintrc new file mode 100644 index 000000000..756e43b8a --- /dev/null +++ b/test/js/.jshintrc @@ -0,0 +1,6 @@ +/* See http://www.jshint.com/docs/#usage on how to use this file */ + +{ + + +} diff --git a/test/js/checkswag.sh b/test/js/checkswag.sh new file mode 100755 index 000000000..b2b0fe8a5 --- /dev/null +++ b/test/js/checkswag.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +jshint --reporter=jslint "$@" ../.. > ../../build/log/jshint_results.xml + +exit 0