From 0f4a277e33b49426900c7722420a9734b656096c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 22 Jul 2016 05:11:44 +0300 Subject: [PATCH] Rename directory 'project' to project's name --- cookiecutter | 2 ++ 1 file changed, 2 insertions(+) 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 && -- 2.39.5