Skip to content

Commit

Permalink
Adds jeweler for gem packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
casualjim committed Feb 28, 2010
1 parent 30b192f commit 217e5a8
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
23 changes: 20 additions & 3 deletions IronNails/Rakefile.rb
@@ -1,7 +1,25 @@
#libs_include = "-I 'C:\\tools\\ironruby\\libs;C:\\tools\\ruby\\lib\\ruby\\site_ruby\\1.8;C:\\tools\\ruby\\lib\\ruby\\1.8'"
require 'rubygems'
require 'rake'
require 'yaml'
require 'ftools'
libs_include = "" #= "-I 'C:\tools\ironruby\merlin\external\languages\ruby\redist-libs\ruby;C:\tools\ironruby\merlin\external\languages\ironruby"

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "testgem"
gem.summary = %Q{IronNails brings rails like development to IronRuby and WPF}
gem.description = %Q{IronNails is a framework inspired by the Rails and rucola frameworks. It offers a rails-like way of developing
applications with IronRuby and Windows Presentation Foundation (WPF).}
gem.email = "ivan@flanders.co.nz"
gem.homepage = "http://github.com/casualjim/ironnails"
gem.authors = ["Ivan Porto Carrero"]
gem.add_development_dependency "rspec", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end


def exec_sys(cmd)
Expand Down Expand Up @@ -40,7 +58,6 @@ def exec_sys(cmd)
task :copy_assemblies do
puts "Coping files to install locations"
ir_path = File.expand_path(File.dirname(__FILE__) + "/bin")
File.copy("../libs/IronNails.Library.dll", ir_path )
File.copy("../libs/J832.Common.dll", ir_path )
File.copy("../libs/J832.Wpf.BagOTricksLib.dll", ir_path )
end
Expand Down
20 changes: 20 additions & 0 deletions IronNails/vendor/ironnails/Rakefile
@@ -0,0 +1,20 @@
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "ironnails"
gem.summary = %Q{IronNails brings rails like development to IronRuby and WPF}
gem.description = %Q{IronNails is a framework inspired by the Rails and rucola frameworks. It offers a rails-like way of developing
applications with IronRuby and Windows Presentation Foundation (WPF).}
gem.email = "ivan@flanders.co.nz"
gem.homepage = "http://github.com/casualjim/ironnails"
gem.authors = ["Ivan Porto Carrero"]
gem.add_development_dependency "rspec", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Binary file not shown.

0 comments on commit 217e5a8

Please sign in to comment.