Files
extism/ruby/Makefile
Benjamin Eckel 23fe3951a3 docs(ruby-sdk): Hygiene: docs, formatter, Makefile (#50)
Work in progress

* Adds some inline docs which generates a yarddoc site
* Adds linting and code formatting abilities using rufo
* Adds a Makefile with common operations

Co-authored-by: Steve Manuel <steve@dylib.so>
2022-10-27 12:20:44 -05:00

28 lines
333 B
Makefile

.PHONY: prepare test
prepare:
bundle install
bundle binstubs --all
test: prepare
bundle exec rake test
clean:
rm extism-*.gem
publish: clean prepare
gem build extism.gemspec
gem push extism-*.gem
lint:
bundle exec rufo --check .
format:
bundle exec rufo .
docs:
bundle exec yard
show-docs: docs
open doc/index.html