Build Windows binary packages
We can cross compile Windows binary on docker using rake-compiler-dock and rake-compiler. `rake gem:windows` will pull docker image, cross compile and create the following packages in `pkg` directory. - rbnacl-libsodium-x.x.x-x64-mingw32.gem - rbnacl-libsodium-x.x.x-x86-mingw32.gem
Showing
... | @@ -2,7 +2,7 @@ source 'https://rubygems.org' | ... | @@ -2,7 +2,7 @@ source 'https://rubygems.org' |
gemspec | gemspec | ||
gem "rbnacl", github: 'cryptosphere/rbnacl' | gem "rbnacl", git: 'https://github.com/cryptosphere/rbnacl.git' | ||
group :development, :test do | group :development, :test do | ||
gem "rspec", "~> 3" | gem "rspec", "~> 3" | ||
... | ... |
... | @@ -24,4 +24,6 @@ Gem::Specification.new do |spec| | ... | @@ -24,4 +24,6 @@ Gem::Specification.new do |spec| |
spec.add_development_dependency "bundler", "~> 1.5" | spec.add_development_dependency "bundler", "~> 1.5" | ||
spec.add_development_dependency "rake", ">= 10" | spec.add_development_dependency "rake", ">= 10" | ||
spec.add_development_dependency 'rake-compiler', '~> 0.9.7' | |||
spec.add_development_dependency 'rake-compiler-dock', '~> 0.5.2' | |||
end | end |
Please register or sign in to comment