X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=cookiecutter;h=ffb815e3d28802f1e1d24a4fc0e51f08c2655d49;hp=31c323b486735432bf16b737cd4bc50a3f9eb53b;hb=0649f3b0583a1f86fbcd17b1a89adb0e13a85695;hpb=42504f132542807c7e245530bfa2e88898b886c0 diff --git a/cookiecutter b/cookiecutter index 31c323b..ffb815e 100755 --- a/cookiecutter +++ b/cookiecutter @@ -14,11 +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 && git init && git add . && -exec git commit --message "Initial commit - created the project" +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