[java-parent-project-v3] branch master updated: INFRA-106 - Add script to update .checkstyle config location.
Tom Zeller
tzeller at dragonacea.biz
Fri Oct 9 21:51:45 EDT 2015
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-parent-project-v3.
The following commit(s) were added to refs/heads/master by this push:
new b78aefa INFRA-106 - Add script to update .checkstyle config location.
b78aefa is described below
commit b78aefad20c1acd8558c0527bcef63e6fb28f5cc
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Oct 9 20:51:54 2015 -0500
INFRA-106 - Add script to update .checkstyle config location.
---
bin/mod-checkstyle.sh | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/bin/mod-checkstyle.sh b/bin/mod-checkstyle.sh
new file mode 100755
index 0000000..74281ed
--- /dev/null
+++ b/bin/mod-checkstyle.sh
@@ -0,0 +1,17 @@
+#! /bin/bash
+
+# 2015-10-09 A little WIP script to help change the .checkstyle config location, for example "
+# find . -name '.checkstyle' -exec java-parent-project-v3/bin/mod-checkstyle.sh {} \;
+
+LOCATION=$0
+LOCATION=${LOCATION%/*}
+
+source $LOCATION/create-project-common.sh
+
+declare -r OLD='https:\/\/svn.shibboleth.net\/java-parent-projects\/java-parent-project-v3\/trunk\/resources\/checkstyle\/checkstyle.xml'
+declare -r NEW='http:\/\/git.shibboleth.net\/view\/?p=java-parent-project-v3.git;a=blob_plain;f=resources\/checkstyle\/checkstyle.xml;hb=HEAD'
+
+expand_macro $1 $OLD $NEW
+
+$ECHO "Done."
+exit 0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list