O
ozizus
Hi, I dont get what is wrong with this rakefile:
#====================================
task :default => :TTList
checkfile = "arrangement0/list.txt"
task :TTList => checkfile do
regenarate
end
#===================================
So, regenarate function regenarates bunch of files, including the
checkfile. When I call rake, it should run :TTList task, but only if
checkfile is not there. This rakefile runs :TTList even if the
checkfile exists.
thx.
#====================================
task :default => :TTList
checkfile = "arrangement0/list.txt"
task :TTList => checkfile do
regenarate
end
#===================================
So, regenarate function regenarates bunch of files, including the
checkfile. When I call rake, it should run :TTList task, but only if
checkfile is not there. This rakefile runs :TTList even if the
checkfile exists.
thx.