From patchwork Tue Dec 11 03:45:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Currey X-Patchwork-Id: 1010832 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43DQy83nVNz9s3Z for ; Tue, 11 Dec 2018 14:52:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43DQy821ZczDqD2 for ; Tue, 11 Dec 2018 14:52:48 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral X-Original-To: snowpatch@lists.ozlabs.org Delivered-To: snowpatch@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (helo) smtp.helo=out1-smtp.messagingengine.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=ruscur@russell.cc; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="RnKLaELM"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43DQxx6hYRzDqNQ for ; Tue, 11 Dec 2018 14:52:37 +1100 (AEDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A0D3721347; Mon, 10 Dec 2018 22:45:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 10 Dec 2018 22:45:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rhUpWd5JiGwcLklOp Bbw/7m7GcTkyoEaNYTlVvsRpr8=; b=RnKLaELMVffpoBNld7oJntBMU0WJdjx4W pCyXrEsCR/SipZ3a2IFwbd8zNbt5M9VaMRJOEyNzTzFg6AVYaBvVkBSJvJ8F7qR9 IeGbg4Y/i8ZPpSZdlBphoXRp4V0+KJxLgcVdCCxS7rYVBY71sBB0ZREEzwdrzvJy K3FnxFQio+yQeTphzxZMGNuuiWRdKgoHu6r0m9wi63EFdqrgSJ35I/l8jRmT3iph LtJxsU8RnrLjh4IZzqxUu6a8k1vW5g6L9jelNmsAHLHq6RqSezqLU9EoSzsV0yUk atT4obPVenUlNC5ycgnr3/d3fRsDP3GK13ZxowRpXhB9SdG2qFJbQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudegiedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecufghrlhcuvffnffculdeftddmnecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeftuhhsshgvlhhlucevuhhrrhgvhicuoehruhhstghurhesrhhu shhsvghllhdrtggtqeenucfkphepvddtvddrkedurddukedrfedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehruhhstghurhesrhhushhsvghllhdrtggtnecuvehluhhsthgvrhfu ihiivgeptd X-ME-Proxy: Received: from crackle.ozlabs.ibm.com.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id D1635E446A; Mon, 10 Dec 2018 22:45:36 -0500 (EST) From: Russell Currey To: snowpatch@lists.ozlabs.org Date: Tue, 11 Dec 2018 14:45:57 +1100 Message-Id: <20181211034601.29061-1-ruscur@russell.cc> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [snowpatch] [PATCH v2 1/5] setup_rustfmt_hook: create hooks dir if it doesn't exist X-BeenThere: snowpatch@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Continuous Integration for patch-based workflows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell Currey Errors-To: snowpatch-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "snowpatch" Signed-off-by: Russell Currey --- setup_rustfmt_hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup_rustfmt_hook.sh b/setup_rustfmt_hook.sh index 76a8932..4088926 100755 --- a/setup_rustfmt_hook.sh +++ b/setup_rustfmt_hook.sh @@ -2,6 +2,7 @@ rustup component add rustfmt-preview rustfmt_path=`which rustfmt` +mkdir -p .git/hooks echo "#!/bin/bash declare -a rust_files=() files=\$(git diff-index --name-only HEAD)