1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(* SPDX-License-Identifier: AGPL-3.0-or-later *)
(* Copyright © 2021-2024 OCamlPro *)
(* Written by the Owi programmers *)
open Syntax
let validate filename =
let+ (_modul : Binary.modul) =
Compile.File.until_binary_validate ~unsafe:false ~rac:false ~srac:false
filename
in
()
let cmd ~debug ~files =
if debug then Log.debug_on := true;
list_iter validate files