From c0ea43a435b8b0f6c3eaf87b34fda925061f5b05 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Tue, 19 Nov 2019 13:50:09 -0500 Subject: [PATCH] Bug 553231: Use code cleanliness script from cdt-infra Change-Id: Ie64b89f970e4e6d2cc5bf08281da4d0c49c197f9 --- check_code_cleanliness.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 check_code_cleanliness.sh diff --git a/check_code_cleanliness.sh b/check_code_cleanliness.sh new file mode 100755 index 00000000000..f914e19cc13 --- /dev/null +++ b/check_code_cleanliness.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +## +# The script is shared by all the CDT projects. When running +# local edits, you can, for example, do: +# SCRIPT_URL=file:///scratch/eclipse/src/cdt/cdt-infra/scripts/check_code_cleanliness.sh ./check_code_cleanliness.sh +## + +: ${SCRIPT_URL:=https://raw.githubusercontent.com/eclipse-cdt/cdt-infra/master/scripts/check_code_cleanliness.sh} +export COREPROJECT=bundles/org.eclipse.launchbar.core +echo Obtaining check_code_cleanliness.sh from $SCRIPT_URL +curl -sL $SCRIPT_URL | bash