Makefile in ric-0.12.2 vs Makefile in ric-0.13.0
- old
+ new
@@ -1,14 +1,23 @@
# Makefile before I learn how to use a Rakefile appropriately :P
+
+VERSION = $(shell cat VERSION)
+
install:
bundle install --path vendor/bundle
-deploy: install
+build: install
#sbin/rake-deploy1.sh
bundle exec rake build
bundle exec rake release
echo Correctly built and deployed version 1
+
+push-to-rubygems:
+ # requires both private key and user/password so only for the maintainer..
+ bundle exec rake build
+ rake gem
+ gem push pkg/ric-$(VERSION).gem
clean:
rm -rf pkg/ doc/
versions:
\ No newline at end of file