I would like to execute a number of bash
commands from a Rakefile
.
I have tried the following in my Rakefile
task :hello do
%{echo "World!"}
end
but upon executing rake hello
there is no output?
How do I execute bash commands from a Rakefile?
NOTE:This is not a duplicate as it's specifically asking how to execute bash commands from a Rakefile.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…