diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b7e4301 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: objective-c +osx_image: xcode10 +xcode_sdk: iphoneos11.0 +env: + - MINT_PATH="~/mint_cache" +cache: + directories: + - $MINT_PATH +script: + - brew install cookiecutter mint + - cookiecutter --no-input . diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..094c926 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Alexey Korolev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index dc43974..07d0e1f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# My iOS app template +# My new iOS app template + +[![Build Status](https://travis-ci.com/alphatroya/swift-project-template.svg?branch=master)](https://travis-ci.com/alphatroya/swift-project-template) ## Description @@ -7,10 +9,18 @@ tools for rapid project bootstraping. ## Usage -Make sure that `cookiecutter` and `mint` tools installed with `brew`. +Make sure that `cookiecutter` and `mint` tools are installed. ```sh brew install cookiecutter mint ``` After that run `cookiecutter gh:alphatroya/swift-project-template`. + +## Author + +Alexey Korolev, alphatroya@gmail.com + +## License + +Project is available under the MIT license. See the LICENSE file for more info. diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index 1dd43d2..cb13d76 100644 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -11,5 +11,5 @@ echo '.idea' >> .gitignore # Trigger initial commit git init git add . -git commit -S -m "Initial commit" +git commit -m "Initial commit" git checkout -b develop