Sha256: a4f8fcd8c1040cb825e62fb3d3e53c5f076c4f792a55a581e00e9ad6e897e9ef

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

.PHONY: githooks install test 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: lint
	bundle exec rake spec

lint:
	bundle exec rubocop -d --cache true --parallel

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)
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:latest

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twilio-ruby-5.63.0 Makefile