build_tests/custom_builder/build.rb in rscons-0.0.11 vs build_tests/custom_builder/build.rb in rscons-0.0.12
- old
+ new
@@ -7,10 +7,9 @@
end
target
end
end
-Rscons::Environment.new(echo: :short) do |env|
- env.add_builder(MySource.new)
+Rscons::Environment.new(echo: :short, builders: [MySource.new]) do |env|
env.MySource('inc.h', [])
env.Program('program', Dir['*.c'])
end