Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 933 Bytes

File metadata and controls

40 lines (25 loc) · 933 Bytes

Contributing

Please follow the style guide:

Lint your script using ShellCheck:

Test your script using shunit2:

As much as possible, break up the parts of the final script into useful chunks ("sub-scripts") and place them in the /lib folder.

Lint the sub-scripts by sourcing them in the base command files:

  • /git-grab
  • /git-ls-sub

Test the sub-scripts by sourcing them in the test runner:

  • /test/test_runner.sh

"Sourcing" a sub-script means writing the line:

# SOURCE: <sub-script-name.sh>

... into the file, and then building it using the default Rake task:

$ rake