Rakefile in ruboto-0.12.0.rc.0 vs Rakefile in ruboto-0.12.0
- old
+ new
@@ -134,11 +134,50 @@
end
cat ||= i['pull_request'] && i['pull_request']['html_url'] && 'Pull requests'
cat ||= 'Other'
cat
end
+
+ puts '=' * 80
puts
+ puts <<EOF
+Subject: [ANN] Ruboto #{milestone_name} release candidate
+
+Hi all!
+
+The Ruboto #{milestone_name} release candidate is now available.
+
+#{milestone_description}
+
+As always we need your help and feedback to ensure the quality of the release. Please install the release candidate using
+
+ [sudo] gem install ruboto --pre
+
+and test your apps after updating with
+
+ ruboto update app
+
+If you have an app released for public consumption, please let us know. Our developer program seeks to help developers getting started using Ruboto, and ensure good quality across Ruboto releases. Currently we are supporting the apps listed here:
+
+ https://github.com/ruboto/ruboto/wiki/Promoted-apps
+
+If you are just starting with Ruboto, but still want to contribute, please select and complete one of the tutorials and mark it with the version of Ruboto you used.
+
+ https://github.com/ruboto/ruboto/wiki/Tutorials-and-examples
+
+If you find a bug or have a suggestion, please file an issue in the issue tracker:
+
+ https://github.com/ruboto/ruboto/issues
+
+--
+The Ruboto Team
+http://ruboto.org/
+
+EOF
+
+ puts '=' * 80
+ puts
puts "Subject: [ANN] Ruboto #{milestone_name} released!"
puts
puts "The Ruboto team is pleased to announce the release of Ruboto #{milestone_name}."
puts
puts Ruboto::DESCRIPTION
@@ -156,20 +195,31 @@
puts "* https://github.com/ruboto/ruboto/issues?state=closed&milestone=#{milestone}\n\n"
puts
puts <<EOF
Installation:
-To use Ruboto, you need to install a Java JDK, the Android SDK, Apache ANT, and a Ruby implementation. Then do (possibly as root)
+To use Ruboto, you need to install a Ruby implementation. Then do (possibly as root)
gem install ruboto
+ ruboto setup
-
To create a project do
ruboto gen app --package <your.package.name>
+ cd <project directory>
+ ruboto setup
+To run an emulator for your project
+ cd <project directory>
+ rake emulator
+
+To run your project
+
+ cd <project directory>
+ rake install start
+
You can find an introductory tutorial at https://github.com/ruboto/ruboto/wiki
If you have any problems or questions, come see us at http://ruboto.org/
Enjoy!
@@ -178,11 +228,11 @@
--
The Ruboto Team
http://ruboto.org/
EOF
-
+ puts '=' * 80
end
desc 'Fetch download stats form rubygems.org'
task :stats do
require 'time'
@@ -260,20 +310,20 @@
puts "\nTotal: #{total}\n\n"
end
desc 'Push the gem to RubyGems'
task :release => [:clean, :gem] do
- output = `git status --porcelain`
- raise "Workspace not clean!\n#{output}" unless output.empty?
+ #output = `git status --porcelain`
+ #raise "Workspace not clean!\n#{output}" unless output.empty?
sh "git tag #{Ruboto::VERSION}"
sh 'git push --tags'
sh "gem push #{GEM_FILE}"
examples_glob = "#{EXAMPLE_FILE.slice(/^.*?_\d+\.\d+\.\d+/)}*"
sh "git rm #{examples_glob}" unless Dir[examples_glob].empty?
Rake::Task[:example].invoke
sh "git add #{EXAMPLE_FILE}"
- sh "git commit -m '* Added example app for Ruboto #{Ruboto::VERSION} tools r#{Ruboto::SdkVersions::ANDROID_TOOLS_REVISION}' \"#{examples_glob}\""
+ sh "git commit -m '* Added example app for Ruboto #{Ruboto::VERSION} tools r#{Ruboto::SdkLocations::ANDROID_TOOLS_REVISION}' \"#{examples_glob}\""
sh 'git push'
end
desc "Run the tests. Select which test files to load with 'rake test TEST=test_file_pattern'"
task :test do