Makefile in fugit-1.1.3 vs Makefile in fugit-1.1.4
- old
+ new
@@ -11,11 +11,11 @@
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)); s.validate"
+ ruby -e "s = eval(File.read(Dir['*.gemspec'].first)); p s.validate"
@echo "---"
name: gemspec_validate
@echo "$(NAME) $(VERSION)"
@@ -28,8 +28,12 @@
mv $(NAME)-$(VERSION).gem pkg/
push: build
gem push pkg/$(NAME)-$(VERSION).gem
+spec:
+ bundle exec rspec
+test: spec
-.PHONY: build push cw
+
+.PHONY: count_lines gemspec_validate name cw build push spec