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 pagereset
parent
3bc870bbe0
commit
b193cd00bc
|
@ -1,4 +1,4 @@
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
/build/*
|
/build/*
|
||||||
!/build/README.md
|
!/build/.placeholder
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
# Placeholder
|
|
||||||
This directory is here as a placeholder for the build process.
|
|
||||||
|
|
||||||
# Files
|
|
||||||
### [README.md](./README.md)
|
|
||||||
this file
|
|
|
@ -5,8 +5,6 @@ echo "Deployment script for repository \"web-deployment\"
|
||||||
|
|
||||||
# activate ** globs
|
# activate ** globs
|
||||||
if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi
|
if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi
|
||||||
# remove READMEs
|
|
||||||
rm ./src/**/README.md
|
|
||||||
# prepare build directory tree and static files
|
# prepare build directory tree and static files
|
||||||
rm -r ./build
|
rm -r ./build
|
||||||
cp -r ./src ./build
|
cp -r ./src ./build
|
||||||
|
|
Loading…
Reference in New Issue