Sha256: b5aa0ee6efc6f68838e933469279b1857a1683dffb249af0aed61da79752c43d
Contents?: true
Size: 891 Bytes
Versions: 59
Compression:
Stored size: 891 Bytes
Contents
# GEMSPEC=$(shell ls *.gemspec | head -1) # VERSION=$(shell ruby -rubygems -e 'puts Gem::Specification.load("$(GEMSPEC)").version') # PROJECT=$(shell ruby -rubygems -e 'puts Gem::Specification.load("$(GEMSPEC)").name') # GEM=$(PROJECT)-$(VERSION).gem # .PHONY: install package publish test server $(GEM) define install_bs gem list bundler -i || gem install bundler endef define gem_paths gem list bundler -i || gem install bundler endef install: $(call install_bs) bundle config --local path .bundle gem update roda-bin bundle server: bundle # cd test/dummy && touch dummy.db && rm dummy.db && bundle exec thin start -p 8080 cd test/dummy && touch dummy.db && bundle exec roda server test: bundle exec pry-test --async package: $(GEM) # Always build the gem $(GEM): gem build $(PROJECT).gemspec publish: $(GEM) gem push $(GEM) rm $(GEM) git tag -a $(VERSION) git push
Version data entries
59 entries across 59 versions & 1 rubygems