Sha256: d304d377c154deb2878f006eb02b321bbd9a8bb9e672376b25b22278ec1c77c1
Contents?: true
Size: 791 Bytes
Versions: 9
Compression:
Stored size: 791 Bytes
Contents
GEMSPEC=$(shell ls *.gemspec) VERSION=$(shell awk -F\" '/spec.version/ { print $$2 }' $(GEMSPEC)) NAME=$(shell awk -F\" '/spec.name/ { print $$2 }' $(GEMSPEC)) GEM=$(NAME)-$(VERSION).gem .PHONY: package package: | $(GEM) .PHONY: gem gem: $(GEM) $(GEM): gem build $(GEMSPEC) .PHONY: test-package test-package: $(GEM) # Sometimes 'gem build' makes a faulty gem. gem unpack $(GEM) rm -rf $(NAME)-$(VERSION)/ .PHONY: publish publish: test-package gem push $(GEM) .PHONY: install install: $(GEM) gem install $(GEM) .PHONY: clean clean: -rm -rf .yardoc $(GEM) $(NAME)-$(VERSION)/ .PHONY: rubocop rubocop: rubocop -D .PHONY: test test: rubocop rspec -f Flores::RSpec::Formatters::Analyze .PHONY: test test-fast: rubocop ITERATIONS=10 rspec -f Flores::RSpec::Formatters::Analyze
Version data entries
9 entries across 9 versions & 2 rubygems