X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=cookiecutter;h=ffb815e3d28802f1e1d24a4fc0e51f08c2655d49;hp=51322682fab678dd59ea05b5a4b5a41fcf87e146;hb=703fac6af08d5952e4cb13051e09da6626b99feb;hpb=0f4a277e33b49426900c7722420a9734b656096c diff --git a/cookiecutter b/cookiecutter index 5132268..ffb815e 100755 --- a/cookiecutter +++ b/cookiecutter @@ -14,10 +14,15 @@ 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 && +replace '{project}' "$project_name" .gitignore README.txt \ + docs/genapidocs docs/install.rst 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 && -exec git init +git init && git add . && +git commit --message "Initial commit - created the project" && +git config htdocs.path "$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/"$project_name"/docs && +cp -p "$HOME"/current/projects/m_lib/update-remotes . && +echo /update-remotes >>.git/info/exclude && +exec ./mk-git-aliases