2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2017-11-14 03:36:14 +04:00
|
|
|
(* Copyright (c) 2014 - 2017. *)
|
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
|