Sha256: 1a876a72aa6499f392df5ff1b7fd5583a8caefafbb5d56db3bcf3bb085eb0b6b

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

.PHONY: test build bump-major bump-minor bump-patch help
.DEFAULT_GOAL := help

test: ## Run the unit tests
	bundle exec rake --trace

build: ## Build the ruby gem
	gem build r7insight.gemspec

bump-major: ## Bump the major version (1.0.0 -> 2.0.0)
	@which bump || (echo "You do not have 'bump' installed or in your PATH.\n" \
		"Please run 'gem install bump'\n" "GitHub: https://github.com/gregorym/bump" && false)
	@bump major

bump-minor: ## Bump the minor version (0.1.0 -> 0.2.0)
	@which bump || (echo "You do not have 'bump' installed or in your PATH.\n" \
		"Please run 'gem install bump'\n" "GitHub: https://github.com/gregorym/bump" && false)
	@bump minor

bump-patch: ## Bump the patch version (0.0.1 -> 0.0.2)
	@which bump || (echo "You do not have 'bump' installed or in your PATH.\n" \
		"Please run 'gem install bump'\n" "GitHub: https://github.com/gregorym/bump" && false)
	@bump patch

help: ## Shows help
	@IFS=$$'\n' ; \
    help_lines=(`fgrep -h "##" ${MAKEFILE_LIST} | fgrep -v fgrep | sed -e 's/\\$$//'`); \
    for help_line in $${help_lines[@]}; do \
        IFS=$$'#' ; \
        help_split=($$help_line) ; \
        help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
        help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
        printf "%-30s %s\n" $$help_command $$help_info ; \
    done

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
r7insight-3.0.4 Makefile
r7insight-3.0.3 Makefile
r7insight-3.0.2 Makefile
r7insight-3.0.1 Makefile
r7insight-3.0.0 Makefile