[前][次][番号順一覧][スレッド一覧]

ruby-changes:62696

From: Hiroshi <ko1@a...>
Date: Tue, 25 Aug 2020 08:44:38 +0900 (JST)
Subject: [ruby-changes:62696] e6ac1fb612 (master): Specify the executable of erb

https://git.ruby-lang.org/ruby.git/commit/?id=e6ac1fb612

From e6ac1fb6121d6cb694d107f205713d92b7b4a427 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 25 Aug 2020 08:44:11 +0900
Subject: Specify the executable of erb


diff --git a/lib/erb.gemspec b/lib/erb.gemspec
index f58f61b..54d67c8 100644
--- a/lib/erb.gemspec
+++ b/lib/erb.gemspec
@@ -17,6 +17,6 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/erb.gemspec#L17
     `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
   end
   spec.bindir        = "exe"
-  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+  spec.executables   = ["erb"]
   spec.require_paths = ["lib"]
 end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]