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