Replace nanoc.yaml with nanoc.yaml.sample

This commit is contained in:
0x1eef 2024-07-22 01:21:52 -03:00
parent 3869b944cf
commit db10fa6129
3 changed files with 7 additions and 5 deletions

8
.gitignore vendored
View file

@ -1,8 +1,6 @@
*.gem
nanoc.yaml
/.yardoc/
/stage/
.gems/
.bundle/
.yardoc/
.dev/
.doc/
pkg/
stage/

View file

@ -39,6 +39,10 @@ for dir in ${subdir}; do
npm i
printok "nodejs dependencies installed"
fi
if [ -e "nanoc.yaml.sample" ]; then
cp nanoc.yaml.sample nanoc.yaml
printok "nanoc.yaml.sample -> nanoc.yaml"
fi
cd "${cwd}"
done
git submodule update --init --recursive