Loading .travis.yml +22 −7 Original line number Diff line number Diff line language: go sudo: false matrix: include: - go: 1.5 env: VERSION=0.1.0 before_deploy: - GOARCH=amd64 GOOS=linux go build boilr.go && tar czvf boilr-$VERSION-linux_amd64.tgz boilr - GOARCH=386 GOOS=linux go build boilr.go && tar czvf boilr-$VERSION-linux_386.tgz boilr script: - GOARCH=amd64 GOOS=linux go build boilr.go && mv boilr boilr_linux_64 && tar czvf boilr-0.1.0-linux_amd64.tgz boilr_linux_64 - GOARCH=amd64 GOOS=darwin go build boilr.go && mv boilr boilr_darwin_64 && tar czvf boilr-0.1.0-darwin_amd64.tgz boilr_darwin_64 - GOARCH=amd64 GOOS=darwin go build boilr.go && tar czvf boilr-$VERSION-darwin_amd64.tgz boilr - GOARCH=386 GOOS=darwin go build boilr.go && tar czvf boilr-$VERSION-darwin_386.tgz boilr - GOARCH=386 GOOS=linux go build boilr.go && mv boilr boilr_linux_32 && tar czvf boilr-0.1.0-linux_386.tgz boilr_linux_32 - GOARCH=386 GOOS=darwin go build boilr.go && mv boilr boilr_darwin_32 && tar czvf boilr-0.1.0-darwin_386.tgz boilr_darwin_32 deploy: provider: releases api_key: secure: QWOLnQfX23rtlkKNfTPdsjt7WIr3OSKX1G/PILKkq8csFfLy3MQ83JiUboLnutoRxK/Aam6tGoJp9ZGC7Y0maxhV+Th17CwM2xHJiMyB0nAsDOgwfU9l+TYM4SrKcowjt2t0PAf8D+dHFX0Ai2786wLkijqgpQggz+/oF8Ycscp9xaMj/VexSKHBaKyPUlkO+BQM5A63Zj9Ry4/ioLwgcxnNAaCoP1tQ557vVahgi5p78vhSewM9toStv0NRshEdQN+nT1JAEIuWmDbGXcTloh88G1CC5/4q4YyyGnGjfXf0+Afz0kqdLN3BJHxCfnj51S3IVJs6ZAdzO7VHajp+ulQ9HPZC5ZTSgRSnmxC7Y4foAG13G5pcHj0mypduLPFJ+KIcmOJ9cWnWLWWMtJIvi9OQ+3jIagJ8OYJF5aVwzlLGvicHeYybVAqA6RDOJlDU9GoO0ERdu4G6JL+rIdCvjyjrqN2mfCV0vyXNtUaP27yGavY5zspLlZ0DxYYdsGdcW1HezW88zfOO+3EybjwqEY/72yQ3W4sW9zmdi9oBXLEzc1dyUAch8igpAtLoa3+b7VWhUBs56mkxFMuKxWZhSsNoDAfJqipMuSIJGoJeG5hK2ABPy2VBbKAaNfIVTQs9UC8L62G4+L9FujZ1eDCSiMtI1NeiXacUo0RY4wkPj4k= file: - install - boilr-$VERSION-darwin_386.tgz - boilr-$VERSION-darwin_amd64.tgz - boilr-$VERSION-linux_386.tgz - boilr-$VERSION-linux_amd64.tgz skip_cleanup: true on: repo: tmrts/boilr branch: master tags: true README.md +18 −7 Original line number Diff line number Diff line # boilr [![Travis Widget]][Travis] ![License Widget] ![Release Widget] [Travis Widget]: https://img.shields.io/travis/tmrts/boilr.svg?style=flat-square [Travis]: http://travis-ci.org/tmrts/boilr [License Widget]: https://img.shields.io/github/license/tmrts/boilr.svg?style=flat-square [Release Widget]: https://img.shields.io/github/release/tmrts/boilr.svg?style=flat-square <img src="/logo.png" height="400" align="middle"/> <br /> <br /> Are you doing the same steps over and over again every time you start a new programming project? `boilr` is a powerful language-agnostic command-line project templating scaffolding tool here to help you. `boilr` is a powerful language-agnostic command-line boilerplate template tool here to help you. For lots of more details, see [the Wiki page](https://github.com/tmrts/boilr/wiki/Introduction). For more details, see [Introduction](https://github.com/tmrts/boilr/wiki/Introduction) page. # Features - Blazingly Fast - No dependencies (NodeJS, Python Interpreter etc.) - Full power of [golang templates](https://golang.org/pkg/text/template/) (Easy to learn & powerful) # How do I get it? There are binaries available for Linux & OSX. You can download them directly, or run the installation script. Please see [the Wiki page](https://github.com/tmrts/boilr/wiki/Installation) for more information. # Usage To use templates shared by others and create your own please take a look at the [Usage](https://github.com/tmrts/boilr/wiki/Usage) and [Creating Templates](https://github.com/tmrts/boilr/wiki/Creating-Templates) pages in the wiki. # Template Catalog Take a look at [the Wiki page](https://github.com/tmrts/boilr/wiki/Templates) for a list of project templates, examples, and more information. Take a look at [Templates](https://github.com/tmrts/boilr/wiki/Templates) page for a list of project templates, examples, and more information. # Contributing If you'd like to contribute, share your opinions or learn more, please feel free to open an issue. Loading @@ -35,3 +42,7 @@ is the issue body. After creating the issue, save & exit the editor and you will be prompted for github credentials needed to create the issue. # How Do I Get It? There are binaries available for Linux & OSX. You can download them directly, or run the installation script. Please see [Installation](https://github.com/tmrts/boilr/wiki/Installation) page for more information. install +4 −3 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ set -u [[ "$@" =~ --pre ]] && version=0.0.1 pre=1 || version=0.0.1 pre=0 [[ "$@" =~ --pre ]] && version=0.1.0 pre=1 || version=0.1.0 pre=0 # If stdin is a tty, we are "interactive". interactive= Loading Loading @@ -95,7 +95,8 @@ download() { return fi chmod +x $1 && symlink $1 && initialize && check_binary chmod +x $1 && symlink $1 && check_binary initialize } # Try to download binary executable Loading logo.png 0 → 100644 +94.3 KiB Loading image diff... pkg/boilr/configuration.go +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ import ( const ( AppName = "boilr" Version = "0.0.1" Version = "0.1.0" ConfigDirPath = ".config/boilr" ConfigFileName = "config.json" Loading Loading
.travis.yml +22 −7 Original line number Diff line number Diff line language: go sudo: false matrix: include: - go: 1.5 env: VERSION=0.1.0 before_deploy: - GOARCH=amd64 GOOS=linux go build boilr.go && tar czvf boilr-$VERSION-linux_amd64.tgz boilr - GOARCH=386 GOOS=linux go build boilr.go && tar czvf boilr-$VERSION-linux_386.tgz boilr script: - GOARCH=amd64 GOOS=linux go build boilr.go && mv boilr boilr_linux_64 && tar czvf boilr-0.1.0-linux_amd64.tgz boilr_linux_64 - GOARCH=amd64 GOOS=darwin go build boilr.go && mv boilr boilr_darwin_64 && tar czvf boilr-0.1.0-darwin_amd64.tgz boilr_darwin_64 - GOARCH=amd64 GOOS=darwin go build boilr.go && tar czvf boilr-$VERSION-darwin_amd64.tgz boilr - GOARCH=386 GOOS=darwin go build boilr.go && tar czvf boilr-$VERSION-darwin_386.tgz boilr - GOARCH=386 GOOS=linux go build boilr.go && mv boilr boilr_linux_32 && tar czvf boilr-0.1.0-linux_386.tgz boilr_linux_32 - GOARCH=386 GOOS=darwin go build boilr.go && mv boilr boilr_darwin_32 && tar czvf boilr-0.1.0-darwin_386.tgz boilr_darwin_32 deploy: provider: releases api_key: secure: QWOLnQfX23rtlkKNfTPdsjt7WIr3OSKX1G/PILKkq8csFfLy3MQ83JiUboLnutoRxK/Aam6tGoJp9ZGC7Y0maxhV+Th17CwM2xHJiMyB0nAsDOgwfU9l+TYM4SrKcowjt2t0PAf8D+dHFX0Ai2786wLkijqgpQggz+/oF8Ycscp9xaMj/VexSKHBaKyPUlkO+BQM5A63Zj9Ry4/ioLwgcxnNAaCoP1tQ557vVahgi5p78vhSewM9toStv0NRshEdQN+nT1JAEIuWmDbGXcTloh88G1CC5/4q4YyyGnGjfXf0+Afz0kqdLN3BJHxCfnj51S3IVJs6ZAdzO7VHajp+ulQ9HPZC5ZTSgRSnmxC7Y4foAG13G5pcHj0mypduLPFJ+KIcmOJ9cWnWLWWMtJIvi9OQ+3jIagJ8OYJF5aVwzlLGvicHeYybVAqA6RDOJlDU9GoO0ERdu4G6JL+rIdCvjyjrqN2mfCV0vyXNtUaP27yGavY5zspLlZ0DxYYdsGdcW1HezW88zfOO+3EybjwqEY/72yQ3W4sW9zmdi9oBXLEzc1dyUAch8igpAtLoa3+b7VWhUBs56mkxFMuKxWZhSsNoDAfJqipMuSIJGoJeG5hK2ABPy2VBbKAaNfIVTQs9UC8L62G4+L9FujZ1eDCSiMtI1NeiXacUo0RY4wkPj4k= file: - install - boilr-$VERSION-darwin_386.tgz - boilr-$VERSION-darwin_amd64.tgz - boilr-$VERSION-linux_386.tgz - boilr-$VERSION-linux_amd64.tgz skip_cleanup: true on: repo: tmrts/boilr branch: master tags: true
README.md +18 −7 Original line number Diff line number Diff line # boilr [![Travis Widget]][Travis] ![License Widget] ![Release Widget] [Travis Widget]: https://img.shields.io/travis/tmrts/boilr.svg?style=flat-square [Travis]: http://travis-ci.org/tmrts/boilr [License Widget]: https://img.shields.io/github/license/tmrts/boilr.svg?style=flat-square [Release Widget]: https://img.shields.io/github/release/tmrts/boilr.svg?style=flat-square <img src="/logo.png" height="400" align="middle"/> <br /> <br /> Are you doing the same steps over and over again every time you start a new programming project? `boilr` is a powerful language-agnostic command-line project templating scaffolding tool here to help you. `boilr` is a powerful language-agnostic command-line boilerplate template tool here to help you. For lots of more details, see [the Wiki page](https://github.com/tmrts/boilr/wiki/Introduction). For more details, see [Introduction](https://github.com/tmrts/boilr/wiki/Introduction) page. # Features - Blazingly Fast - No dependencies (NodeJS, Python Interpreter etc.) - Full power of [golang templates](https://golang.org/pkg/text/template/) (Easy to learn & powerful) # How do I get it? There are binaries available for Linux & OSX. You can download them directly, or run the installation script. Please see [the Wiki page](https://github.com/tmrts/boilr/wiki/Installation) for more information. # Usage To use templates shared by others and create your own please take a look at the [Usage](https://github.com/tmrts/boilr/wiki/Usage) and [Creating Templates](https://github.com/tmrts/boilr/wiki/Creating-Templates) pages in the wiki. # Template Catalog Take a look at [the Wiki page](https://github.com/tmrts/boilr/wiki/Templates) for a list of project templates, examples, and more information. Take a look at [Templates](https://github.com/tmrts/boilr/wiki/Templates) page for a list of project templates, examples, and more information. # Contributing If you'd like to contribute, share your opinions or learn more, please feel free to open an issue. Loading @@ -35,3 +42,7 @@ is the issue body. After creating the issue, save & exit the editor and you will be prompted for github credentials needed to create the issue. # How Do I Get It? There are binaries available for Linux & OSX. You can download them directly, or run the installation script. Please see [Installation](https://github.com/tmrts/boilr/wiki/Installation) page for more information.
install +4 −3 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ set -u [[ "$@" =~ --pre ]] && version=0.0.1 pre=1 || version=0.0.1 pre=0 [[ "$@" =~ --pre ]] && version=0.1.0 pre=1 || version=0.1.0 pre=0 # If stdin is a tty, we are "interactive". interactive= Loading Loading @@ -95,7 +95,8 @@ download() { return fi chmod +x $1 && symlink $1 && initialize && check_binary chmod +x $1 && symlink $1 && check_binary initialize } # Try to download binary executable Loading
pkg/boilr/configuration.go +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ import ( const ( AppName = "boilr" Version = "0.0.1" Version = "0.1.0" ConfigDirPath = ".config/boilr" ConfigFileName = "config.json" Loading