• Stars
    star
    21
  • Rank 1,084,038 (Top 22 %)
  • Language
    Crystal
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project

generate.cr

Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project.

Installation

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

Usage

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

Development

TODO: Write instructions for development

Contributing

  1. Fork it ( https://github.com/generate.cr/generate/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • waterlink Oleksii Fedorov - creator, maintainer