require '../../common' require 'rubygems' require 'rubygems/installer' require 'rake' require 'rake/gempackagetask' require 'rake/clean' $TOOLS_DOWNLOAD = File.join($BUILD_DIR, 'Cappuccino', 'Tools') PKG_FILES = FileList['lib/**/*'] spec = Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.author = '280 North, Inc.' s.email = 'feedback @nospam@ 280north.com' s.homepage = 'http://cappuccino.org/' s.summary = "Objective-J extensions to Rake." s.name = 'objective-j' s.version = "0.7.1" s.requirements << 'rake' s.require_path = 'lib' s.files = PKG_FILES s.description = < [:gem] do mkdir_p $TOOLS_DOWNLOAD cp(File.join($BUILD_DIR, $CONFIGURATION, 'Rake', spec.file_name), File.join($TOOLS_DOWNLOAD, spec.file_name)) end task :build CLOBBER.include(File.join($BUILD_DIR, $CONFIGURATION, 'Rake'), File.join($TOOLS_DOWNLOAD, spec.file_name))