aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-10-01 16:58:01 -0400
committertimmywil <timmywillisn@gmail.com>2011-10-01 16:58:01 -0400
commit9f5d56a8b5bdeb1186130f81e514982e089da7a2 (patch)
treecf978579a2786b6a61cab00aed7725dc84f4d13f /Makefile
parent46219b57baa44cfdd2e7c1bab0227f38f2927508 (diff)
downloadjquery-9f5d56a8b5bdeb1186130f81e514982e089da7a2.tar.gz
jquery-9f5d56a8b5bdeb1186130f81e514982e089da7a2.zip
Landing pull request 523. Adds character frequency reporting tool, use: make freq. Fixes #10372.
More Details: - https://github.com/jquery/jquery/pull/523 - http://bugs.jquery.com/ticket/10372
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b91952f60..77219e351 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,13 @@ size: jquery min
echo "You must have NodeJS installed in order to size jQuery."; \
fi
+freq: jquery min
+ @@if test ! -z ${JS_ENGINE}; then \
+ ${JS_ENGINE} ${BUILD_DIR}/freq.js; \
+ else \
+ echo "You must have NodeJS installed to report the character frequency of minified jQuery."; \
+ fi
+
min: jquery ${JQ_MIN}
${JQ_MIN}: ${JQ}