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

Version Path
flores-0.0.8 Makefile
flores-0.0.7 Makefile
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/flores-0.0.6/Makefile
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/flores-0.0.6/Makefile
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/flores-0.0.6/Makefile
flores-0.0.6 Makefile
flores-0.0.5 Makefile
flores-0.0.4 Makefile
flores-0.0.3 Makefile