From b193cd00bc6e5fff8dc21a764e07dc15c6716736 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sat, 7 Jan 2023 00:56:25 +0100 Subject: [PATCH] Stop removing READMEs when building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IIRC, this has been unnecessary since the project switched over to using the build directory Also got rid of the useless README in /build so it doesn’t appear in the built page --- .gitignore | 2 +- build/.placeholder | 0 build/README.md | 6 ------ deployment-script.sh | 2 -- 4 files changed, 1 insertion(+), 9 deletions(-) create mode 100644 build/.placeholder delete mode 100644 build/README.md diff --git a/.gitignore b/.gitignore index a736583..5b91ed3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.swp /build/* -!/build/README.md +!/build/.placeholder diff --git a/build/.placeholder b/build/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/build/README.md b/build/README.md deleted file mode 100644 index 7fb360c..0000000 --- a/build/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Placeholder -This directory is here as a placeholder for the build process. - -# Files -### [README.md](./README.md) -this file diff --git a/deployment-script.sh b/deployment-script.sh index d2a0e7f..2950f2c 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -5,8 +5,6 @@ echo "Deployment script for repository \"web-deployment\" # activate ** globs if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi -# remove READMEs -rm ./src/**/README.md # prepare build directory tree and static files rm -r ./build cp -r ./src ./build