From 021e276598b44d31fc5b90ea145f3b80e97d6e22 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 4 Sep 2023 21:58:01 -0400 Subject: finish documentation --- pre-commit | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pre-commit') diff --git a/pre-commit b/pre-commit index 8dcd951..5055d4b 100755 --- a/pre-commit +++ b/pre-commit @@ -1,3 +1,6 @@ +#!/bin/sh + +cd $(git rev-parse --show-toplevel) cargo fmt || exit 1 cargo clippy -- -D warnings || exit 1 git add -u src -- cgit v1.2.3