Stop removing READMEs when building

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
reset
BodgeMaster 2023-01-07 00:56:25 +01:00
parent 3bc870bbe0
commit b193cd00bc
4 changed files with 1 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
*.swp
/build/*
!/build/README.md
!/build/.placeholder

0
build/.placeholder Normal file
View File

View File

@ -1,6 +0,0 @@
# Placeholder
This directory is here as a placeholder for the build process.
# Files
### [README.md](./README.md)
this file

View File

@ -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