[Groonga-commit] groonga/groonga at 9863ff7 [master] package windows: don't remove source directory outside task

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 11 22:44:56 JST 2017


Kouhei Sutou	2017-05-11 22:44:56 +0900 (Thu, 11 May 2017)

  New Revision: 9863ff747804669a78cf4d508738f2f53dd4fccb
  https://github.com/groonga/groonga/commit/9863ff747804669a78cf4d508738f2f53dd4fccb

  Message:
    package windows: don't remove source directory outside task
    
    It's always executed even when we just run "rake -t".

  Modified files:
    packages/windows/Rakefile

  Modified: packages/windows/Rakefile (+2 -2)
===================================================================
--- packages/windows/Rakefile    2017-05-11 18:46:40 +0900 (83a872b)
+++ packages/windows/Rakefile    2017-05-11 22:44:56 +0900 (199c12c)
@@ -72,8 +72,6 @@ end
 
 namespace :build do
   download_dir = base_tmp_dir + "download"
-  rm_rf(source_dir)
-  mkdir_p(source_dir)
 
   task :pkg_config do
     ENV["PKG_CONFIG_PATH"] = nil
@@ -471,6 +469,8 @@ namespace :build do
 
   task :clean do
     rm_rf(dist_dir)
+    rm_rf(source_dir)
+    mkdir_p(source_dir)
   end
 
   task :pre => [:clean]
-------------- next part --------------
HTML����������������������������...
다운로드 



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