Sha256: e9275141eb5d921de03daf011616e886f1643615be24a58d8355974bd6de9043

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 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

## 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:
	RUBYOPT="-W0" bundle exec rspec

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easypost-4.8.1 Makefile