Rakefile in adhearsion-0.7.0 vs Rakefile in adhearsion-0.7.1
- old
+ new
@@ -1,11 +1,11 @@
require 'rubygems'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
-ADHEARSION_VERSION = `grep ahn -e '^\s*\$ADHEARSION_VERSION' | sed 's/[^[:digit:].]/''/g'`.strip
+ADHEARSION_VERSION = File.read '.version'
Summary = %{Adhearsion is a professional integration system for
integrating anything and everything.}
#task :default => [:test]
@@ -103,6 +103,11 @@
exit 1
end
puts `gem uninstall adhearsion`
`gem install pkg/adhearsion*.gem`
puts "Done."
+end
+
+desc 'Create both the gem and the Trixbox RPM. Called "d" for "distribute"'
+task :d => [:repackage] do
+ # Coming soon
end
\ No newline at end of file