]> git.phdru.name Git - cookiecutter.git/blobdiff - cookiecutter
Run tests at Travis CI and AppVeyor
[cookiecutter.git] / cookiecutter
index 34e5cfe944b63dfcd771ba0c04c92d57202c8fba..4923b8e5af3345bdc28bf3086f937a03c9b81dfb 100755 (executable)
@@ -14,11 +14,14 @@ cp -ap project_template "$HOME/tmp/$project_name" &&
 cd "$HOME/tmp/$project_name" &&
 mv project "$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 tox.ini &&
+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 . &&
 
 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" &&
+cp -p "$HOME"/current/projects/m_lib/update-remotes . &&
+echo /update-remotes >>.git/info/exclude &&
+exec ./mk-git-aliases