Sha256: ccc97fc2f9b313da423408751f8cba9e7d1c89ddfcdecde1c93d606c862c2fe7

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 Bytes

Contents

.PHONY: build clean test

.DEFAULT_GOAL := help

help: ## print this message
	@echo ""
	@echo "Usage: make SUB_COMMAND argument_name=argument_value"
	@echo ""
	@echo "Command list:"
	@echo ""
	@printf "\033[36m%-30s\033[0m %-50s %s\n" "[Sub command]" "[Description]" "[Example]"
	@grep -E '^[/a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | perl -pe 's%^([/a-zA-Z_-]+):.*?(##)%$$1 $$2%' | awk -F " *?## *?" '{printf "\033[36m%-30s\033[0m %-50s %s\n", $$1, $$2, $$3}'

generate: ## create ruby client ## client/ruby/generate
	docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v5.0.1 generate -i /local/api/swagger.yaml -g ruby -o /local/ -c /local/api/config/openapi_ruby_config.yaml

test:
	bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mfk_openapi_ruby_client-1.0.0 Makefile