Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project.
curl https://raw.githubusercontent.com/generate-cr/generate/master/script/install.sh | bash
It will create ~/.generate-cr/bin/generate-cr
, which you probably want to add to your PATH
generate.cr new library example
Example project structure:
$ tree example -a
example
βββ .gitignore
βββ libs
β βββ .keep
βββ LICENSE
βββ Projectfile
βββ README.md
βββ spec
β βββ example
β β βββ .keep
β βββ example_spec.cr
β βββ spec_helper.cr
βββ src
β βββ example
β β βββ version.cr
β βββ example.cr
βββ .travis.yml
TODO: Write instructions for development
- Fork it ( https://github.com/generate.cr/generate/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- waterlink Oleksii Fedorov - creator, maintainer