builder registered during build hooks should increase build step count - close #161
This commit is contained in:
parent
132d22e886
commit
419e6ed313
@ -116,6 +116,7 @@ module Rscons
|
||||
end
|
||||
@build_root = "#{Rscons.application.build_dir}/#{@name}"
|
||||
@n_threads = Rscons.application.n_threads
|
||||
@build_steps = 0
|
||||
self.class.register(self)
|
||||
if block
|
||||
Environment.running_environment = self
|
||||
@ -359,6 +360,7 @@ module Rscons
|
||||
@builder_sets << build_builder_set
|
||||
end
|
||||
@builder_sets.last << builder
|
||||
@build_steps += 1
|
||||
@build_targets[target] = builder
|
||||
builder
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user