aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 03:12:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 03:12:32 +0000
commitaef2d0e1392fed592613fc9db1174e0f2f617274 (patch)
tree4116b2d03393737ab14906ece11fc316a7143910 /tool
parent25513ed45f06127dd5c89efc6c0aeb288e24cd7c (diff)
downloadruby-aef2d0e1392fed592613fc9db1174e0f2f617274.tar.gz
common.mk: tweaked packages order
* common.mk (dist): tweaked packages order by $(DISTPKGS). .tar.gz comes first for the hash values in downloads page, then popular .zip. * tool/make-snapshot: "all" in -packages means all of the rest package types now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index d628004dea..4684dab234 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -93,6 +93,9 @@ class Dir
end
$packages &&= $packages.split(/[, ]+/).tap {|pkg|
+ if all = pkg.index("all")
+ pkg[all, 1] = PACKAGES.keys - pkg
+ end
pkg -= PACKAGES.keys
pkg.empty? or abort "#{File.basename $0}: unknown packages - #{pkg.join(", ")}"
}