[Rant] dry-run
Stefan Lang
langstefan at gmx.at
Tue Nov 1 15:18:39 EST 2005
Latest Rant from repository has a --dry-run (-n) option now.
Example:
% cat Rantfile
import "command"
task :install => "foo" do
sys.install "foo", "/usr/local/bin", :mode => 0755
end
gen Command, "foo", "foo.c", "cc -o $(>) $(<)"
% rant -n
Executing "foo"
- SHELL
cc -o foo foo.c
Executing "install"
- Ruby Proc at Rantfile:3
% rant
cc -o foo foo.c
install -c -m 0755 foo /usr/local/bin
% rant -n
Executing "install"
- Ruby Proc at Rantfile:3
--
Stefan
More information about the make-cafe
mailing list