[Groonga-commit] groonga/groonga at 010932d [master] windows: put .pdb to lib/pdb/

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 19 12:40:49 JST 2017


Kouhei Sutou	2017-10-19 12:40:49 +0900 (Thu, 19 Oct 2017)

  New Revision: 010932dd55f194258f49327b6dce2ea10ddf351c
  https://github.com/groonga/groonga/commit/010932dd55f194258f49327b6dce2ea10ddf351c

  Message:
    windows: put .pdb to lib/pdb/

  Modified files:
    packages/windows/Rakefile

  Modified: packages/windows/Rakefile (+6 -4)
===================================================================
--- packages/windows/Rakefile    2017-10-19 12:34:05 +0900 (d3bb9bbb8)
+++ packages/windows/Rakefile    2017-10-19 12:40:49 +0900 (54c2e34b2)
@@ -503,11 +503,13 @@ namespace :pdb do
       cv2pdb_url = "https://ci.appveyor.com/api/projects/rainers/visuald/artifacts/cv2pdb.exe?job=Environment%3A%20os%3DVisual%20Studio%202013%2C%20VS%3D12%2C%20APPVEYOR_BUILD_WORKER_IMAGE%3DVisual%20Studio%202015"
       cv2pdb = download(cv2pdb_url, download_dir)
       chmod(0755, cv2pdb)
-      generate_pdb_bat = bin_dir + "generate_pdb.bat"
+      generate_pdb_bat = bin_dir + "generate-pdb.bat"
       generate_pdb_bat.open("w") do |bat|
-        cd(bin_dir) do
-          Dir.glob("*.{exe,dll}") do |binary|
-            bat.print("#{cv2pdb.basename} #{binary}\r\n")
+        cd(binary_dir) do
+          Dir.glob("**/*.{exe,dll}") do |binary|
+            pdb = "lib\\pdb\\" + File.basename(binary, ".*") + ".pdb"
+            binary = binary.gsub("/", "\\")
+            bat.print("bin\\#{cv2pdb.basename} #{binary} #{binary} #{pdb}\r\n")
           end
         end
       end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171019/19d30b57/attachment.htm 



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