Skip to content

Commit 74f4753

Browse files
committed
update tests
Signed-off-by: Edwin Török <[email protected]>
1 parent 56bb399 commit 74f4753

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.4.5 (2023-09-10)
1+
## 0.4.6 (2023-09-10)
22

33
* lintcstubs-dune-rules helper added
44

example/dune2/dune.analysis.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
(rule (targets ./lintcstubs.log ./lintcstubs.sarif)
1313
(enabled_if %{bin-available:lintcstubs})
1414
(deps (:primitives ./primitives.h) (:model foo2.model.c) %{bin:lintcstubs}
15-
(package lintcstubs))
15+
(package lintcstubs) compile_commands.json)
1616
(action
1717
(with-stdout-to ./lintcstubs.log
1818
(run %{bin:lintcstubs} --conf lintcstubs.json -o ./lintcstubs.sarif -I

rules/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let analyze_rules =
4848
(rule
4949
(targets %{log} %{sarif})
5050
(enabled_if %{bin-available:lintcstubs})
51-
(deps (:primitives) (:model) %{bin:lintcstubs} (package lintcstubs))
51+
(deps (:primitives) (:model) %{bin:lintcstubs} (package lintcstubs) compile_commands.json)
5252
(action
5353
(with-stdout-to %{log}
5454
(run %{bin:lintcstubs} --conf lintcstubs.json -o %{sarif} -I %{ocaml_where} --set dbg.solver-stats-interval 0 compile_commands.json %{model})

0 commit comments

Comments
 (0)