From e4e8578c5cf433648fa5428bfb2ad2ce8d347439 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 15 Sep 2012 19:44:37 -0700 Subject: New .gitattributes file. This should assist in keeping line endings straight. It is designed to enforce LF endings everywhere except for files specifically for windows. --- tools/class-dump | 6 ++++++ tools/jar-dump | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 tools/class-dump create mode 100755 tools/jar-dump (limited to 'tools') diff --git a/tools/class-dump b/tools/class-dump new file mode 100755 index 0000000000..06a7e5acbc --- /dev/null +++ b/tools/class-dump @@ -0,0 +1,6 @@ +#!/bin/sh +# + +JAVAP_OPTS="-private" + +[[ -n "$1" ]] && ( cd "$(dirname "$1")" && javap $JAVAP_OPTS "$(basename "${1%%.class}")" ) diff --git a/tools/jar-dump b/tools/jar-dump new file mode 100755 index 0000000000..166441b330 --- /dev/null +++ b/tools/jar-dump @@ -0,0 +1,4 @@ +#!/bin/sh +# + +jar tf "$1" | sort -- cgit v1.2.3