Sha256: 825b9499364ee1db2319b74f746c57ad793a41c410aebf6d874ec7767481acc7
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
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 scan: scan lib/**/*.rb 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 --otp "$(OTP)" pkg/$(NAME)-$(VERSION).gem spec: bundle exec rspec test: spec ## specific to project ## info: uname -a bundle exec ruby -v bundle exec ruby -Ilib -r et-orbi -e "EtOrbi._make_info" ## done ## .PHONY: count_lines scan gemspec_validate name cw build push spec info
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
et-orbi-1.2.7 | Makefile |
et-orbi-1.2.6 | Makefile |
et-orbi-1.2.5 | Makefile |
et-orbi-1.2.4 | Makefile |