Replace nanoc.yaml with nanoc.yaml.sample
This commit is contained in:
parent
3869b944cf
commit
db10fa6129
3 changed files with 7 additions and 5 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,8 +1,6 @@
|
|||
*.gem
|
||||
nanoc.yaml
|
||||
/.yardoc/
|
||||
/stage/
|
||||
.gems/
|
||||
.bundle/
|
||||
.yardoc/
|
||||
.dev/
|
||||
.doc/
|
||||
pkg/
|
||||
stage/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue