Module: Target

Included in:
FileTarget, PhonyTarget
Defined in:
lib/ruby_make_script/target.rb

Instance Method Summary collapse

Instance Method Details

#addObject

Raises:

  • (nil)


30
31
32
# File 'lib/ruby_make_script/target.rb', line 30

def add
    raise nil
end

#depend_eachObject



8
9
10
11
12
# File 'lib/ruby_make_script/target.rb', line 8

def depend_each
    depend.each { |f|
        yield f
    }
end

#depend_modified?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/ruby_make_script/target.rb', line 14

def depend_modified?
    return depend.map{ |f| file_modified?(f) }.reduce(false, :|)
end

#from(*dependlist) ⇒ Object

Raises:

  • (nil)


26
27
28
# File 'lib/ruby_make_script/target.rb', line 26

def from(*dependlist)
    raise nil
end

#resolve_allObject

Raises:

  • (nil)


18
19
20
# File 'lib/ruby_make_script/target.rb', line 18

def resolve_all
    raise nil
end

#runObject

Raises:

  • (nil)


22
23
24
# File 'lib/ruby_make_script/target.rb', line 22

def run
    raise nil
end