Sha256: 63f1634b6bdcf4a6632f6ce3d015197321dfa0f420ca9e449d4f94680c3e5d08

Contents?: true

Size: 1.25 KB

Versions: 35

Compression:

Stored size: 1.25 KB

Contents

.PHONY: githooks install test test-docker lint docs docker-build docker-push

githooks:
	ln -sf ../../githooks/pre-commit .git/hooks/pre-commit

install:
	bundle install --with development; bundle exec rake install

test:
	bundle exec rake spec

test-docker:
	docker build -t twilio/twilio-ruby .
	docker run twilio/twilio-ruby bundle exec rake spec

docs:
	bundle exec yard doc --output-dir ./doc

authors:
	echo "Authors\n=======\n\nA huge thanks to all of our contributors:\n\n" > AUTHORS.md
	git log --raw | grep "^Author: " | cut -d ' ' -f2- | cut -d '<' -f1 | sed 's/^/- /' | sort | uniq >> AUTHORS.md

API_DEFINITIONS_SHA=$(shell git log --oneline | grep Regenerated | head -n1 | cut -d ' ' -f 5)
CURRENT_TAG=$(shell expr "${GITHUB_TAG}" : ".*-rc.*" >/dev/null && echo "rc" || echo "latest")
docker-build:
	docker build -t twilio/twilio-ruby .
	docker tag twilio/twilio-ruby twilio/twilio-ruby:${GITHUB_TAG}
	docker tag twilio/twilio-ruby twilio/twilio-ruby:apidefs-${API_DEFINITIONS_SHA}
	docker tag twilio/twilio-ruby twilio/twilio-ruby:${CURRENT_TAG}

docker-push:
	docker push twilio/twilio-ruby:${GITHUB_TAG}
	docker push twilio/twilio-ruby:apidefs-${API_DEFINITIONS_SHA}
	docker push twilio/twilio-ruby:${CURRENT_TAG}

cluster-test:
	bundle exec rspec ./cluster_spec.rb

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
twilio-ruby-7.1.1 Makefile
twilio-ruby-7.0.2 Makefile
twilio-ruby-7.0.1 Makefile
twilio-ruby-7.0.0 Makefile
twilio-ruby-7.0.0.pre.rc.3 Makefile
twilio-ruby-7.0.0.pre.rc.2 Makefile
twilio-ruby-6.12.1 Makefile
twilio-ruby-6.12.0 Makefile
twilio-ruby-7.0.0.pre.rc.1 Makefile
twilio-ruby-6.11.0 Makefile
twilio-ruby-6.9.1 Makefile
twilio-ruby-6.9.0 Makefile
twilio-ruby-6.8.3 Makefile
twilio-ruby-6.8.2 Makefile
twilio-ruby-6.8.1 Makefile
twilio-ruby-6.8.0 Makefile
twilio-ruby-6.7.1 Makefile
twilio-ruby-6.7.0 Makefile
twilio-ruby-6.6.0 Makefile
whoosh-ruby-0.1.5 Makefile