mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 20:27:59 -05:00
Handle targets with no dependencies
These would not be added to the dependency graph and thus no build instructions were generated for them.
This commit is contained in:
@@ -691,6 +691,7 @@ open("#{builddir}/build.ninja", "w") do |io|
|
||||
|
||||
dag = ''
|
||||
TARGETS.each do |target|
|
||||
dag << "#{target[:name]}\t#{target[:name]}\n" if target['LINK'].nil?
|
||||
target['LINK'].each { |dep| dag << "#{target[:name]}\t#{dep}\n" } unless target['LINK'].nil?
|
||||
target.each do |key, value|
|
||||
value.each { |rsrc| dag << "#{target[:name]}\t#$'\n" if rsrc =~ /^@/ } if key =~ /^CP_/
|
||||
|
||||
Reference in New Issue
Block a user