Commit 18f8138 1 parent 5ac709b commit 18f8138 Copy full SHA for 18f8138
File tree 2 files changed +2
-2
lines changed
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|
30
30
end
31
31
32
32
task ghpages : :rdoc do
33
- ` git checkout gh-pages`
33
+ %x[ git checkout gh-pages]
34
34
require "fileutils"
35
35
FileUtils . rm_rf "/tmp/html"
36
36
FileUtils . mv "html" , "/tmp"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Rake has the following features:
24
24
s . homepage = "https://github.com/ruby/rake" . freeze
25
25
s . licenses = [ "MIT" . freeze ]
26
26
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)/} ) } -
28
28
%w[ .rubocop.yml .travis.yml appveyor.yml ]
29
29
s . bindir = "exe"
30
30
s . executables = s . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
You can’t perform that action at this time.
0 commit comments