Sha256: acac7d6e62a96233ee2f7e977db561130374e89c29e6ad417e3998de58b3f139

Contents?: true

Size: 928 Bytes

Versions: 24

Compression:

Stored size: 928 Bytes

Contents

## gem tasks ##

NAME = \
  $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.name")
VERSION = \
  $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.version")

count_lines:
	find lib -name "*.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
	find spec -name "*_spec.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
cl: count_lines

gemspec_validate:
	@echo "---"
	ruby -e "s = eval(File.read(Dir['*.gemspec'].first)); p s.validate"
	@echo "---"

name: gemspec_validate
	@echo "$(NAME) $(VERSION)"

cw:
	find lib -name "*.rb" -exec ruby -cw {} \;

build: gemspec_validate
	gem build $(NAME).gemspec
	mkdir -p pkg
	mv $(NAME)-$(VERSION).gem pkg/

push: build
	gem push pkg/$(NAME)-$(VERSION).gem

spec:
	bundle exec rspec
test: spec


.PHONY: count_lines gemspec_validate name cw build push spec

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
cevennes-1.1.1 Makefile
cevennes-1.1.0 Makefile
tresse-1.2.0 Makefile
tresse-1.1.3 Makefile
tresse-1.1.2 Makefile
tresse-1.1.1 Makefile
tresse-1.1.0 Makefile
tresse-1.0.0 Makefile
tresse-0.1.0 Makefile
dense-1.1.6 Makefile
dense-1.1.5 Makefile
dense-1.1.4 Makefile
cevennes-1.0.0 Makefile
cevennes-0.13.0 Makefile
cevennes-0.12.0 Makefile
cevennes-0.11.0 Makefile
fugit-1.1.6 Makefile
cevennes-0.10.0 Makefile
cevennes-0.9.0 Makefile
dense-1.1.3 Makefile