Kouhei Sutou
null+****@clear*****
Fri Sep 26 15:07:20 JST 2014
Kouhei Sutou 2014-09-26 15:07:20 +0900 (Fri, 26 Sep 2014) New Revision: 3fdf3a0ef68a43e6d52a0ec81cea180d16206a3c https://github.com/groonga/groonga/commit/3fdf3a0ef68a43e6d52a0ec81cea180d16206a3c Message: windows: remove parenthesis for DSL syntax Modified files: packages/windows/Rakefile Modified: packages/windows/Rakefile (+11 -11) =================================================================== --- packages/windows/Rakefile 2014-09-26 12:55:33 +0900 (490f824) +++ packages/windows/Rakefile 2014-09-26 15:07:20 +0900 (9a86dd8) @@ -49,7 +49,7 @@ namespace :build do download_dir = Pathname.new("tmp/download").expand_path desc "Build MessagePack and install it into #{dist_dir}." - task(:msgpack) do + task :msgpack do tmp_dir = Pathname.new("tmp/msgpack") rm_rf(tmp_dir) mkdir_p(tmp_dir) @@ -89,7 +89,7 @@ namespace :build do end desc "Build MeCab and install it into #{dist_dir}." - task(:mecab) do + task :mecab do tmp_dir = Pathname.new("tmp/mecab") rm_rf(tmp_dir) mkdir_p(tmp_dir) @@ -133,7 +133,7 @@ namespace :build do end desc "Build MeCab dictionary and install it into #{dist_dir}." - task(:mecab_dict) do + task :mecab_dict do tmp_dir = Pathname.new("tmp/mecab_dict") rm_rf(tmp_dir) mkdir_p(tmp_dir) @@ -175,7 +175,7 @@ namespace :build do end desc "Build groonga and install it into #{dist_dir}/." - task(:groonga) do + task :groonga do tmp_dir = Pathname.new("tmp/groonga") rm_rf(tmp_dir) mkdir_p(tmp_dir) @@ -211,18 +211,18 @@ namespace :build do end end - task(:clean) do + task :clean do rm_rf(dist_dir) end - task(:pre => :clean) - task(:post) + task :pre => :clean + task :post end namespace :gcc do namespace :dll do desc "Bundle GCC related DLLs" - task(:bundle) do + task :bundle do dlls = ["libstdc++-6.dll", "libwinpthread-1.dll"] if groonga_win32_x86_p dlls << "libgcc_s_sjlj-1.dll" @@ -237,12 +237,12 @@ namespace :gcc do end end -task("build:post" => "gcc:dll:bundle") +task "build:post" => "gcc:dll:bundle" desc "Build MeCab and groonga and install them into #{dist_dir}/." -task(:build => ["build:pre", +task :build => ["build:pre", "build:msgpack", "build:mecab", "build:mecab_dict", "build:groonga", - "build:post"]) + "build:post"] -------------- next part -------------- HTML����������������������������...Download