From 5d2bc728e66deacf2cb2c02227c87ecc3c93409a Mon Sep 17 00:00:00 2001
From: quickstart <TravisCarden@236758.no-reply.drupal.org>
Date: Thu, 22 Mar 2012 12:06:56 -0500
Subject: [PATCH] Issue #1490036: Added contrib script for installing PAReview.sh.

---
 contrib/install-pareview.sh |   47 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100755 contrib/install-pareview.sh

diff --git a/contrib/install-pareview.sh b/contrib/install-pareview.sh
new file mode 100755
index 0000000..cf54020
--- /dev/null
+++ b/contrib/install-pareview.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+# ################################################################################ PAReview.sh
+
+# README:
+#
+# This script will install PAReview.sh, a simple Bash script to automatically
+# review Drupal.org project applications.
+#
+HELP="
+
+PAReview.sh Installation complete.
+
+PAReview is a simple Bash script to automatically review Drupal.org project
+applications.
+
+Usage:
+cd /path/to/drupal
+pareview.sh GIT-URL [BRANCH]
+pareview.sh DIR-PATH
+
+Examples:
+pareview.sh http://git.drupal.org/project/rules.git
+pareview.sh http://git.drupal.org/project/rules.git 6.x-1.x
+pareview.sh sites/all/modules/rules
+
+For details on using PAReview.sh, see the project page: http://drupal.org/project/pareviewsh
+"
+
+# Install PHP_CodeSniffer
+sudo pear install PHP_CodeSniffer;
+
+cd ~/quickstart/;
+
+# Install Drupal Code Sniffer
+git clone --branch 7.x-1.x http://git.drupal.org/project/drupalcs.git;
+sudo ln -sv ~/quickstart/drupalcs/Drupal $(pear config-get php_dir)/PHP/CodeSniffer/Standards
+echo "alias drupalcs='phpcs --standard=Drupal'" >> ~/.bash_aliases
+
+# Install PAReview.sh
+git clone --branch 7.x-1.x http://git.drupal.org/project/pareviewsh.git
+sudo ln -s ~/quickstart/pareviewsh/pareview.sh /usr/local/bin
+
+cd -;
+
+echo "$HELP"
+
-- 
1.7.4.1

