method

rule

Importance_1
v1_9_3_392 - 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.