mirror of
https://github.com/extism/extism.git
synced 2026-04-23 03:00:11 -04:00
33 lines
472 B
Makefile
33 lines
472 B
Makefile
RUBYGEMS_API_KEY ?=
|
|
|
|
.PHONY: prepare test
|
|
|
|
prepare:
|
|
bundle install
|
|
bundle binstubs --all
|
|
|
|
test: prepare
|
|
bundle exec rake test
|
|
|
|
clean:
|
|
rm -f extism-*.gem
|
|
|
|
publish-local: clean prepare
|
|
gem build extism.gemspec
|
|
gem push extism-*.gem
|
|
|
|
publish: clean prepare
|
|
gem build extism.gemspec
|
|
GEM_HOST_API_KEY=$(RUBYGEMS_API_KEY) gem push extism-*.gem
|
|
|
|
lint:
|
|
bundle exec rufo --check .
|
|
|
|
format:
|
|
bundle exec rufo .
|
|
|
|
docs:
|
|
bundle exec yard
|
|
|
|
show-docs: docs
|
|
open doc/index.html
|