30 lines
498 B
YAML
30 lines
498 B
YAML
name: mcp-ruby
|
|
|
|
type: ruby
|
|
|
|
up:
|
|
- ruby
|
|
- bundler
|
|
|
|
commands:
|
|
console:
|
|
desc: Open console with the gem loaded
|
|
run: bin/console
|
|
build:
|
|
desc: Build the gem using rake build
|
|
run: bin/rake build
|
|
test:
|
|
desc: Run tests
|
|
syntax:
|
|
argument: file
|
|
optional: args...
|
|
run: |
|
|
if [[ $# -eq 0 ]]; then
|
|
bin/rake test
|
|
else
|
|
bin/rake -I test "$@"
|
|
fi
|
|
style:
|
|
desc: Run rubocop
|
|
aliases: [rubocop, lint]
|
|
run: bin/rake rubocop
|