How to run
gem install canuby
Some rake task have longer descriptions and are only complettly readable if you use
rake -T | cat or
On Windows version older than 10 (like Windows 7 or Windows 8) you may need to install the
win32console gem to show colors correctly.
To do that run:
gem install win32console.
Canuby uses this
MAJOR.MINOR.PATCH version scheme.
It is based of https://semver.org/ version scheme.
How to run from source
To use canuby from source run these command inside your cloned repository. On Windows it may be necessary to use an elevated command prompt to install all gems correctly.
gem install bundler
rake -f exe\canubyor
To get a full list of all arguments invoke canuby with the
Environment variables Canuby makes use of:
CI=trueforce CI environment
DEBUG=trueshow debug information
linux=trueforce linux environment
- This projects uses rubocop. Get it with
gem install rubocopand then run
rubocopinside the git repo. PR's without rubocop applied are not being merged.
Rubocop Style Reference: https://rubocop.readthedocs.io/en/latest/cops_style/
- Fasterer is a tool that will suggest speed improvements for your ruby code. It is highly recommended to use on bigger changes to keep the Canuby code fast. Get it with
gem install fastererand then run
fastererinside the git repo to get the code flash fast.
To run the Canuby tests use
rake test in the root directory.
- Ruby regular expression editor: http://rubular.com/