Sha256: 58e7080a769ebedf5190107fc004908bd5a1df42f1bdd48fc1f2e68d85bbf40f
Contents?: true
Size: 948 Bytes
Versions: 8
Compression:
Stored size: 948 Bytes
Contents
.DEFAULT_GOAL := help .PHONY: check-version help push local-install PLUGIN := vagrant-guests-clearlinux help: @echo "available 'make' targets:" @echo @grep -E "^.*:.*?## .*$$" $(MAKEFILE_LIST) | \ grep -vE "(grep|BEGIN)" | awk \ 'BEGIN {FS = ":.*?## "}; {printf "\t\033[36m%-30s\033[0m %s\n", $$1, $$2}' | \ VERSION=$(VERSION) envsubst @echo check-version: ifndef VERSION $(error VERSION is undefined) endif build: ## builds gem inside a docker container docker run -it --rm --name gem-builder -v "$${PWD}":/usr/src/myapp \ -w /usr/src/myapp ruby:2.5 bash -c "bundle install; bundle exec rake build" push: pkg/$(PLUGIN)-${VERSION}.gem ## pushes gem to rubygems.org gem push pkg/$(PLUGIN)-${VERSION}.gem pkg/$(PLUGIN)-${VERSION}.gem: check-version build local-install: pkg/$(PLUGIN)-${VERSION}.gem ## installs plugin locally for testing vagrant plugin uninstall $(PLUGIN) vagrant plugin install pkg/$(PLUGIN)-${VERSION}.gem
Version data entries
8 entries across 8 versions & 1 rubygems