From: Oleg Broytman Date: Fri, 22 Jul 2016 02:11:44 +0000 (+0300) Subject: Rename directory 'project' to project's name X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0f4a277e33b49426900c7722420a9734b656096c;p=cookiecutter.git Rename directory 'project' to project's name --- diff --git a/cookiecutter b/cookiecutter index 936caff..5132268 100755 --- a/cookiecutter +++ b/cookiecutter @@ -12,6 +12,8 @@ rm -rf "$HOME/tmp/$project_name" && cp -ap project_template "$HOME/tmp/$project_name" && cd "$HOME/tmp/$project_name" && +mv project "$project_name" && + replace -i "template project" "$project_name" README.txt setup.py && replace project "$project_name" docs/genapidocs mk-distr publish-docs setup.py &&