X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=cookiecutter;fp=cookiecutter;h=0000000000000000000000000000000000000000;hp=c23664ce5ee75d61d7b78c0436ffb235b627ed62;hb=bc165058ca1cfa91695b67d85a591316d14353e8;hpb=acbf5e07016ebe0346ba99315bc3e675c8030c48 diff --git a/cookiecutter b/cookiecutter deleted file mode 100755 index c23664c..0000000 --- a/cookiecutter +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/sh - -if [ -z "$1" -o -n "$2" ]; then - echo "Usage: $0 project_name" >&2 - exit 1 -fi - -project_name="$1" - -cd "`dirname \"$0\"`" && -rm -rf "$HOME/tmp/$project_name" && -cp -ap project_template "$HOME/tmp/$project_name" && - -cd "$HOME/tmp/$project_name" && -mv project "$project_name" && - -replace '{project}' "$project_name" .gitignore README.txt \ - devscripts/README.html 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 && -echo /publish-docs >>.git/info/exclude && -echo /update-remotes >>.git/info/exclude && -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 . && -exec ./mk-git-aliases