ligo/src/lib_protocol_compiler/main_byte.ml

18 lines
834 B
OCaml
Raw Normal View History

2016-09-08 21:13:10 +04:00
(**************************************************************************)
(* *)
2018-02-06 00:17:03 +04:00
(* Copyright (c) 2014 - 2018. *)
2016-09-08 21:13:10 +04:00
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
let () =
try
2018-01-30 19:30:22 +04:00
Tezos_protocol_compiler.Compiler.main
Tezos_protocol_compiler_byte.Byte.driver ;
2016-09-08 21:13:10 +04:00
Pervasives.exit 0
with exn ->
2018-01-30 19:30:22 +04:00
Format.eprintf "%a\n%!" Errors.report_error exn;
2016-09-08 21:13:10 +04:00
Pervasives.exit 1