Rakefile in filegen-0.1.1 vs Rakefile in filegen-0.1.2

- old
+ new

@@ -30,10 +30,14 @@ def pkg_directory File.join(root_directory, 'pkg') end +def gem_directory + File.join(root_directory, 'vendor', 'cache') +end + task :default => 'gem:build' file gem_file => 'gem:build' file tmp_directory do @@ -41,10 +45,11 @@ end namespace :gem do desc 'build tar file' task :package => [gem_file, tmp_directory] do - FileUtils.mv File.join(pkg_directory,"#{software}-#{version}.gem"), tmp_directory + FileUtils.mv File.join(pkg_directory, "#{software}-#{version}.gem"), tmp_directory + FileUtils.mv File.join(gem_directory, "moneta-0.7.20.gem"), tmp_directory Dir.chdir('tmp') do sh "tar -czf #{tar_file} #{File.basename tmp_directory}" end end