Add ability to record side-effect file production - close #43

This commit is contained in:
josh committed 2017-07-14 16:17:01 -04:00
1 parent 45e30662d2
commit 6d04500c13
4 files changed
+56 -11

No files matched your search

+7
View File
@@ -1306,6 +1306,13 @@ EOF
result = run_test(rsconsfile: "build_after.rb", rscons_args: %w[-j 4])
expect(result.stderr).to eq ""
end
it "allows the user to specify side-effect files produced by another builder" do
test_dir("custom_builder")
result = run_test(rsconsfile: "produces.rb", rscons_args: %w[-j 4])
expect(result.stderr).to eq ""
expect(File.exists?("copy_inc.h")).to be_truthy
end
end
context "CLI" do