commit 8cfa34be9bb2cd042014a4225d890f355a9a7fc1
parent 9f345cc01ddfc80f93b573dc0e4c40bc94127e83
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 27 Feb 2017 17:30:11 -0500
only build 64-bit variant on Linux by default
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Rakefile b/Rakefile
@@ -11,6 +11,8 @@ task :build, [:variants] do |_, args|
vars = Array(args[:variants]) + args.extras
vars.reject &:empty?
+ vars = ['x64'] if vars.empty? && RUBY_PLATFORM.include?('linux')
+
if Gem.win_platform? && ENV['VCINSTALLDIR'].nil?
raise "VCINSTALLDIR is unset. Is this Developer Command Prompt for Visual Studio?"
end