Navigation Menu

Skip to content

Commit

Permalink
Reduce scope
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 6, 2015
1 parent 0aed690 commit 8e1230f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Rakefile
Expand Up @@ -148,20 +148,18 @@ namespace :clean do
end
end

def cross_target_rubies
"2.0.0:2.1.6:2.2.2"
end

namespace :build do
namespace :windows do
ruby_versions = "2.0.0:2.1.6:2.2.2"

desc "Build cross compile binary with rake-compiler-dock for i386"
task :x86 do
require "rake_compiler_dock"
rm_rf binary_dir
RakeCompilerDock.sh %Q[
bundle
rake clean
rake cross native gem RUBY_CC_VERSION=\"#{cross_target_rubies}\"
rake cross native gem RUBY_CC_VERSION=\"#{ruby_versions}\"
]
end

Expand All @@ -173,7 +171,7 @@ namespace :build do
bundle
rake clean
export RROONGA_USE_GROONGA_X64=true
rake cross native gem RUBY_CC_VERSION=\"#{cross_target_rubies}\"
rake cross native gem RUBY_CC_VERSION=\"#{ruby_versions}\"
]
end
end
Expand Down

0 comments on commit 8e1230f

Please sign in to comment.