File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RDoc::Task.new do |doc|
3030end
3131
3232task ghpages : :rdoc do
33- ` git checkout gh-pages`
33+ %x[ git checkout gh-pages]
3434 require "fileutils"
3535 FileUtils . rm_rf "/tmp/html"
3636 FileUtils . mv "html" , "/tmp"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Rake has the following features:
2424 s . homepage = "https://github.com/ruby/rake" . freeze
2525 s . licenses = [ "MIT" . freeze ]
2626
27- s . files = ` git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) } -
27+ s . files = %x[ git ls-files -z] . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) } -
2828 %w[ .rubocop.yml .travis.yml appveyor.yml ]
2929 s . bindir = "exe"
3030 s . executables = s . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
You can’t perform that action at this time.
0 commit comments