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

Version Path
roda-component-0.1.73 Makefile
roda-component-0.1.72 Makefile
roda-component-0.1.71 Makefile
roda-component-0.1.70 Makefile
roda-component-0.1.69 Makefile
roda-component-0.1.68 Makefile
roda-component-0.1.67 Makefile
roda-component-0.1.66 Makefile
roda-component-0.1.65 Makefile
roda-component-0.1.64 Makefile
roda-component-0.1.63 Makefile
roda-component-0.1.62 Makefile
roda-component-0.1.61 Makefile
roda-component-0.1.60 Makefile
roda-component-0.1.59 Makefile
roda-component-0.1.58 Makefile
roda-component-0.1.57 Makefile
roda-component-0.1.56 Makefile
roda-component-0.1.55 Makefile
roda-component-0.1.54 Makefile