• Rakeはmakeと同じようなもの

Tasks

  • Rakefile(makefileのrake version)

rule

dependency

rule '.dependency' do |task|
  puts 'called task: %s' % task.name
end

rule '.task' => '.dependency' do |task|
  puts 'called task: %s' % task.name
end

# $ rake rule.task
# called task: rule.dependency
# called task: rule.task

results matching ""

    No results matching ""