remove Environment#targets() and Environment#target_sources() which didn't seem to be used

This commit is contained in:
Josh Holtrop 2013-11-05 10:42:01 -05:00
parent 8100830c16
commit 67922b887d

View File

@ -122,16 +122,6 @@ module Rscons
@varset.send(:append, *args) @varset.send(:append, *args)
end end
# Return a list of target file names
def targets
@targets.keys
end
# Return a list of sources needed to build target target.
def target_sources(target)
@targets[target][:source] rescue nil
end
# Build all target specified in the Environment. # Build all target specified in the Environment.
# When a block is passed to Environment.new, this method is automatically # When a block is passed to Environment.new, this method is automatically
# called after the block returns. # called after the block returns.