[Groonga-commit] ranguba/rroonga at 1e3993a [master] windows: add cross build task

Back to archive index

cosmo0920 null+****@clear*****
Sat Sep 13 23:47:16 JST 2014


cosmo0920	2014-09-13 23:47:16 +0900 (Sat, 13 Sep 2014)

  New Revision: 1e3993a235018babc1e84c21e55133be333e9954
  https://github.com/ranguba/rroonga/commit/1e3993a235018babc1e84c21e55133be333e9954

  Message:
    windows: add cross build task

  Modified files:
    Rakefile

  Modified: Rakefile (+13 -0)
===================================================================
--- Rakefile    2014-09-13 23:46:50 +0900 (e341b94)
+++ Rakefile    2014-09-13 23:47:16 +0900 (cb78b1d)
@@ -163,4 +163,17 @@ namespace :clean do
   end
 end
 
+desc "Build cross compile binary with Vagrant"
+namespace :build do
+  task :windows do
+    pkg_dir = "#{base_dir}/pkg"
+    mkdir pkg_dir unless File.exist?(pkg_dir)
+    cd "build/windows" do
+      sh("vagrant", "up")
+      cp_r("pkg", base_dir)
+      sh("vagrant", "destroy", "-f")
+    end
+  end
+end
+
 task :default => :test
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index