From 8bd28878f48cd34bb88ed86cdfff845efcc14b52 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Tue, 19 Jan 2021 18:55:46 +0000 Subject: [PATCH] Move pre-commit.sh under dev/ * pre-commit.sh: Rename... * dev/pre-commit.sh: ...to this. * readme-template.md (Contribute): * dash-template.texi (Contribute): Adapt accordingly. * README.md: * dash.texi: Regenerate docs. --- README.md | 2 +- dash-template.texi | 2 +- dash.texi | 2 +- pre-commit.sh => dev/pre-commit.sh | 0 readme-template.md | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename pre-commit.sh => dev/pre-commit.sh (100%) diff --git a/README.md b/README.md index 8f3104b..20be9f6 100644 --- a/README.md +++ b/README.md @@ -3005,7 +3005,7 @@ Regenerate the docs with: I highly recommend that you install these as a pre-commit hook, so that the tests are always running and the docs are always in sync: - cp pre-commit.sh .git/hooks/pre-commit + cp dev/pre-commit.sh .git/hooks/pre-commit Oh, and don't edit `README.md` or `dash.texi` directly; they are auto-generated. Change `readme-template.md` or `dash-template.texi` diff --git a/dash-template.texi b/dash-template.texi index cb97a3b..223909a 100644 --- a/dash-template.texi +++ b/dash-template.texi @@ -238,7 +238,7 @@ commands as a Git pre-commit hook, so that the tests are always running and the docs are always in sync: @example -$ cp pre-commit.sh .git/hooks/pre-commit +$ cp dev/pre-commit.sh .git/hooks/pre-commit @end example Oh, and don't edit @file{README.md} or @file{dash.texi} directly, as diff --git a/dash.texi b/dash.texi index 6a4f087..fdeb0d4 100644 --- a/dash.texi +++ b/dash.texi @@ -4605,7 +4605,7 @@ commands as a Git pre-commit hook, so that the tests are always running and the docs are always in sync: @example -$ cp pre-commit.sh .git/hooks/pre-commit +$ cp dev/pre-commit.sh .git/hooks/pre-commit @end example Oh, and don't edit @file{README.md} or @file{dash.texi} directly, as diff --git a/pre-commit.sh b/dev/pre-commit.sh similarity index 100% rename from pre-commit.sh rename to dev/pre-commit.sh diff --git a/readme-template.md b/readme-template.md index 6cb7430..ff8a685 100644 --- a/readme-template.md +++ b/readme-template.md @@ -128,7 +128,7 @@ Regenerate the docs with: I highly recommend that you install these as a pre-commit hook, so that the tests are always running and the docs are always in sync: - cp pre-commit.sh .git/hooks/pre-commit + cp dev/pre-commit.sh .git/hooks/pre-commit Oh, and don't edit `README.md` or `dash.texi` directly; they are auto-generated. Change `readme-template.md` or `dash-template.texi`