Sha256: f077d15e8dd110a2cda10e9e85f05e2a0ed889f829614d275d30bf03a2f3b1e3

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

## help - Display help about make targets for this Makefile
help:
	@cat Makefile | grep '^## ' --color=never | cut -c4- | sed -e "`printf 's/ - /\t- /;'`" | column -s "`printf '\t'`" -t

## build - Builds the project
build:
	gem build easypost.gemspec --strict
	mkdir -p dist
	mv *.gem dist/

## clean - Cleans the project
clean:
	rm -rf coverage doc *.gem dist

## coverage - Generate a test coverage report
coverage:
	make test

## docs - Generate documentation for the library
docs:
	bundle exec rdoc lib -o docs --title "EasyPost Ruby Docs"

## fix - Fix Rubocop errors
fix:
	bundle exec rubocop -a

## install - Install globally from source
install:
	git submodule init
	git submodule update
	bundle install

## lint - Lint the project
lint:
	bundle exec rubocop

## publish - Publishes the built gem to Rubygems
publish:
	gem push dist/*.gem

## release - Cuts a release for the project on GitHub (requires GitHub CLI)
# tag = The associated tag title of the release
release:
	gh release create ${tag} dist/*

## scan - Runs security analysis on the project with Brakeman
scan:
	bundle exec brakeman lib --force

## test - Test the project (and ignore warnings for test output)
test:
	bundle exec rspec

## update - Updates dependencies
update:
	git submodule init
	git submodule update --remote

.PHONY: help build clean coverage docs fix install lint publish release scan test update

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easypost-5.0.0 Makefile