Browse Source

Update the compilation rule for git hash inclusion

Chimrod 7 months ago
parent
commit
e8b746742f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      bin/qsp_parser.ml
  2. 1 1
      tools/dune

+ 1 - 1
bin/qsp_parser.ml

@@ -42,7 +42,7 @@ let parse_location : ctx:ctx -> Qparser.Lexbuf.t -> Args.filters -> ctx =
               match report.Report.level with
               | Error -> { ctx with error_nb = ctx.error_nb + 1 }
               | Warn -> { ctx with warn_nb = ctx.warn_nb + 1 }
-              | Debug -> { ctx with warn_nb = ctx.debug_nb + 1 }))
+              | Debug -> { ctx with debug_nb = ctx.debug_nb + 1 }))
   | Error e ->
       let start_position, _ = Qparser.Lexbuf.positions lexbuf in
       Format.fprintf Format.std_formatter "Location@ %s@;@[%a]@."

+ 1 - 1
tools/dune

@@ -3,7 +3,7 @@
 
 (rule
  (target git_hash.ml)
- (deps git_head.sh)
+ (deps git_head.sh (universe))
  (action
   (with-stdout-to
    %{target}