[Groonga-commit] pgroonga/pgroonga at 633a81a [master] Indent

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jan 28 21:48:33 JST 2015


Kouhei Sutou	2015-01-28 21:48:33 +0900 (Wed, 28 Jan 2015)

  New Revision: 633a81a76c6587f370ebd23c02e4873d5fa3a2f4
  https://github.com/pgroonga/pgroonga/commit/633a81a76c6587f370ebd23c02e4873d5fa3a2f4

  Message:
    Indent

  Modified files:
    Rakefile

  Modified: Rakefile (+16 -16)
===================================================================
--- Rakefile    2015-01-28 21:48:16 +0900 (836dbe2)
+++ Rakefile    2015-01-28 21:48:33 +0900 (596c2b9)
@@ -38,21 +38,21 @@ end
 packages_dir = "packages"
 
 namespace :package do
-namespace :source do
-  rsync_path = "#{rsync_base_path}/source/#{package}"
-  source_dir = "#{packages_dir}/source"
-
-  directory source_dir
-
-  desc "Download sources"
-  task :download => source_dir do
-    sh("rsync", "-avz", "--progress", "#{rsync_path}/", source_dir)
+  namespace :source do
+    rsync_path = "#{rsync_base_path}/source/#{package}"
+    source_dir = "#{packages_dir}/source"
+
+    directory source_dir
+
+    desc "Download sources"
+    task :download => source_dir do
+      sh("rsync", "-avz", "--progress", "#{rsync_path}/", source_dir)
+    end
+
+    desc "Upload sources"
+    task :upload => [archive_name, source_dir] do
+      cp(archive_name, source_dir)
+      sh("rsync", "-avz", "--progress", "--delete", "#{source_dir}/", rsync_path)
+    end
   end
-
-  desc "Upload sources"
-  task :upload => [archive_name, source_dir] do
-    cp(archive_name, source_dir)
-    sh("rsync", "-avz", "--progress", "--delete", "#{source_dir}/", rsync_path)
-  end
-end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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