method

rule

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: DSL
rule(*args, &block) private

Declare a rule for auto-tasks.

Example:

rule '.o' => '.c' do |t|
  sh %{cc -o #{t.name} #{t.source}}
end
Show source
Register or log in to add new notes.