Signer: move main_signer.ml into into its own package

This commit is contained in:
Grégoire Henry 2018-05-26 11:11:45 +02:00
parent 664f36a46a
commit ad9f4c2814
7 changed files with 72 additions and 6 deletions

View File

@ -495,12 +495,17 @@ opam:48:tezos-protocol-demo:
variables:
package: tezos-protocol-demo
opam:49:tezos-node:
opam:49:tezos-signer:
<<: *opam_definition
variables:
package: tezos-signer
opam:50:tezos-node:
<<: *opam_definition
variables:
package: tezos-node
opam:50:ocplib-json-typed-browser:
opam:51:ocplib-json-typed-browser:
<<: *opam_definition
variables:
package: ocplib-json-typed-browser

View File

@ -14,13 +14,13 @@ all:
src/bin_node/main.exe \
src/bin_client/main_client.exe \
src/bin_client/main_admin.exe \
src/bin_client/main_signer.exe \
src/bin_signer/main_signer.exe \
src/lib_protocol_compiler/main_native.exe \
src/proto_alpha/bin_baker/main_baker_alpha.exe
@cp _build/default/src/bin_node/main.exe tezos-node
@cp _build/default/src/bin_client/main_client.exe tezos-client
@cp _build/default/src/bin_client/main_admin.exe tezos-admin-client
@cp _build/default/src/bin_client/main_signer.exe tezos-signer
@cp _build/default/src/bin_signer/main_signer.exe tezos-signer
@cp _build/default/src/lib_protocol_compiler/main_native.exe tezos-protocol-compiler
@cp _build/default/src/proto_alpha/bin_baker/main_baker_alpha.exe tezos-alpha-baker

View File

@ -1,8 +1,8 @@
(jbuild_version 1)
(executables
((names (main_client main_admin main_signer))
(public_names (tezos-client tezos-admin-client tezos-signer))
((names (main_client main_admin))
(public_names (tezos-client tezos-admin-client))
(libraries (tezos-base
tezos-rpc-http
tezos-shell-services

24
src/bin_signer/jbuild Normal file
View File

@ -0,0 +1,24 @@
(jbuild_version 1)
(executables
((names (main_signer))
(public_names (tezos-signer))
(libraries (tezos-base
tezos-client-base
tezos-client-base-unix
tezos-client-commands
tezos-rpc-http
tezos-stdlib-unix))
(flags (:standard -w -9+27-30-32-40@8
-safe-string
-open Tezos_base__TzPervasives
-open Tezos_client_base
-open Tezos_client_base_unix
-open Tezos_client_commands
-open Tezos_rpc_http
-open Tezos_stdlib_unix))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml*)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))

View File

@ -0,0 +1,10 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2018. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
(* empty *)

View File

@ -0,0 +1,27 @@
opam-version: "1.2"
version: "dev"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "https://gitlab.com/tezos/tezos.git"
license: "unreleased"
depends: [
"ocamlfind" { build }
"jbuilder" { build & = "1.0+beta19.1" }
"tezos-base"
"tezos-client-base"
"tezos-client-genesis"
"tezos-client-alpha"
"tezos-client-alpha-commands"
"tezos-baking-alpha"
"tezos-baking-alpha-commands"
"tezos-client-base-unix"
"tezos-node" { test }
]
build: [
[ "jbuilder" "build" "-p" name "-j" jobs ]
]
build-test: [
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
]