From: Oleg Broytman Date: Fri, 23 Sep 2016 23:59:44 +0000 (+0300) Subject: Replace {project} with $project_name in .gitignore X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=46aee1808e855158b5ca659f055382bc42c4d535;p=cookiecutter.git Replace {project} with $project_name in .gitignore --- diff --git a/cookiecutter b/cookiecutter index 5973f10..4f5ae0b 100755 --- a/cookiecutter +++ b/cookiecutter @@ -14,8 +14,8 @@ cp -ap project_template "$HOME/tmp/$project_name" && cd "$HOME/tmp/$project_name" && mv project "$project_name" && -replace '{project}' "$project_name" README.txt docs/genapidocs mk-distr \ - publish-docs setup.py tox.ini && +replace '{project}' "$project_name" .gitignore README.txt \ + docs/genapidocs mk-distr publish-docs setup.py tox.ini && sphinx-quickstart --project="$project_name" --author="Oleg Broytman" \ -v0.0 -r0.0.1 --ext-autodoc --makefile --no-batchfile -q docs &&