Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Latest commit

 

History

History
77 lines (55 loc) · 1.56 KB

CONTRIBUTING.md

File metadata and controls

77 lines (55 loc) · 1.56 KB

How to contribute

  • Reporting bugs
  • Suggesting features
  • Creating PRs

Welcome all of the contributions!

Development

At first, you should install development dependencies

$ git clone git@github.com:kachick/eqq.git
$ cd ./eqq
$ bundle install
...
Bundled gems are installed into `./vendor/bundle

Using several tools, not limited to the Ruby ecosystem. An example is dprint.

This project is providing nix flake config for setup around them. After installing Nix package manager, you can do following.

$ nix develop
$ dprint check
...

Try latest version with REPL

$ ./bin/console
Starting up IRB with loading developing this library

How to make ideal PRs (Not a mandatory rule, feel free to PR!)

If you try to add/change/fix features, please update and/or confirm core feature's tests are not broken.

$ bundle exec rake
$ echo $?
0

If you want to run partially tests, test-unit can take some patterns(String/Regexp) with the naming.

$ bundle exec rake test TESTOPTS="-v -n'/test_.*foobar/i'"
Runs test cases only for matched the pattern

CI includes signature check, lint, if you want to check them in own machine, below command is the one.

But please don't hesitate to send PRs even if something fail in this command!

$ bundle exec rake simulate_ci
$ echo $?
0

Note

Below commands shows providing rake tasks

$ bundle exec rake --tasks
Summaries will be shown!

$ bundle exec rake -D
Details will be shown!