Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Latest commit

 

History

History
52 lines (37 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

52 lines (37 loc) · 1.17 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/optionalargument.git
$ cd ./optionalargument
$ ./bin/setup
# Executing first time might take longtime, because development mode dependent active_support via steep

Feel the 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