ligo/src/lib_protocol_compiler/main_byte.ml
2018-02-05 23:34:05 +01:00

18 lines
834 B
OCaml

(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2018. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
let () =
try
Tezos_protocol_compiler.Compiler.main
Tezos_protocol_compiler_byte.Byte.driver ;
Pervasives.exit 0
with exn ->
Format.eprintf "%a\n%!" Errors.report_error exn;
Pervasives.exit 1