Refactor: Remame lib_node_p2p/p2p_base into lib_p2p/p2p_services

This commit is contained in:
Grégoire Henry 2018-01-22 19:08:18 +01:00
parent e0a2570988
commit 4acdfc67fb
38 changed files with 36 additions and 37 deletions

View File

@ -5,11 +5,11 @@
(public_name tezos-node) (public_name tezos-node)
(libraries (tezos-base (libraries (tezos-base
tezos-rpc-http tezos-rpc-http
tezos-node-updater tezos-p2p-services
tezos-node-p2p-base tezos-p2p
tezos-node-p2p
tezos-node-shell-base tezos-node-shell-base
tezos-node-shell tezos-node-shell
tezos-node-updater
tezos-embedded-protocol-genesis tezos-embedded-protocol-genesis
tezos-embedded-protocol-demo tezos-embedded-protocol-demo
tezos-embedded-protocol-alpha tezos-embedded-protocol-alpha
@ -19,11 +19,11 @@
-safe-string -safe-string
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_rpc_http -open Tezos_rpc_http
-open Tezos_node_updater -open Tezos_p2p_services
-open Tezos_node_p2p_base -open Tezos_p2p
-open Tezos_node_p2p
-open Tezos_node_shell_base -open Tezos_node_shell_base
-open Tezos_node_shell -open Tezos_node_shell
-open Tezos_node_updater
-linkall)))) -linkall))))
(install (install

View File

@ -6,7 +6,7 @@
(libraries (tezos-base (libraries (tezos-base
tezos-storage tezos-storage
tezos-rpc-http tezos-rpc-http
tezos-node-p2p-base tezos-p2p-services
tezos-node-shell-base tezos-node-shell-base
tezos-node-services tezos-node-services
tezos-node-updater tezos-node-updater
@ -16,7 +16,7 @@
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_storage -open Tezos_storage
-open Tezos_rpc_http -open Tezos_rpc_http
-open Tezos_node_p2p_base -open Tezos_p2p_services
-open Tezos_node_services -open Tezos_node_services
-open Tezos_node_updater)))) -open Tezos_node_updater))))

View File

@ -12,7 +12,7 @@ depends: [
"tezos-base" "tezos-base"
"tezos-storage" "tezos-storage"
"tezos-rpc-http" "tezos-rpc-http"
"tezos-node-p2p-base" "tezos-p2p-services"
"tezos-node-services" "tezos-node-services"
"tezos-node-updater" "tezos-node-updater"
"tezos-protocol-compiler" "tezos-protocol-compiler"

View File

@ -4,12 +4,12 @@
((name tezos_node_services) ((name tezos_node_services)
(public_name tezos-node-services) (public_name tezos-node-services)
(libraries (tezos-base (libraries (tezos-base
tezos-node-p2p-base tezos-p2p-services
tezos-node-shell-base)) tezos-node-shell-base))
(flags (:standard -w -9+27-30-32-40@8 (flags (:standard -w -9+27-30-32-40@8
-safe-string -safe-string
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_node_p2p_base -open Tezos_p2p_services
-open Tezos_node_shell_base)))) -open Tezos_node_shell_base))))
(alias (alias

View File

@ -10,8 +10,7 @@ depends: [
"ocamlfind" { build } "ocamlfind" { build }
"jbuilder" { build & >= "1.0+beta15" } "jbuilder" { build & >= "1.0+beta15" }
"tezos-base" "tezos-base"
"tezos-node-p2p-base" "tezos-p2p-services"
"tezos-node-shell-base"
"ocplib-resto" "ocplib-resto"
] ]
build: [ build: [

View File

@ -6,20 +6,20 @@
(libraries (tezos-base (libraries (tezos-base
tezos-storage tezos-storage
tezos-rpc-http tezos-rpc-http
tezos-p2p-services
tezos-p2p
tezos-node-services tezos-node-services
tezos-node-p2p-base
tezos-node-shell-base tezos-node-shell-base
tezos-node-p2p
tezos-node-updater)) tezos-node-updater))
(flags (:standard -w -9+27-30-32-40@8 (flags (:standard -w -9+27-30-32-40@8
-safe-string -safe-string
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_storage -open Tezos_storage
-open Tezos_rpc_http -open Tezos_rpc_http
-open Tezos_p2p_services
-open Tezos_p2p
-open Tezos_node_services -open Tezos_node_services
-open Tezos_node_p2p_base
-open Tezos_node_shell_base -open Tezos_node_shell_base
-open Tezos_node_p2p
-open Tezos_node_updater)))) -open Tezos_node_updater))))
(alias (alias

View File

@ -12,8 +12,8 @@ depends: [
"tezos-base" "tezos-base"
"tezos-storage" "tezos-storage"
"tezos-node-services" "tezos-node-services"
"tezos-node-p2p-base" "tezos-p2p-services"
"tezos-node-p2p" "tezos-p2p"
"tezos-node-updater" "tezos-node-updater"
] ]
build: [ build: [

View File

@ -4,9 +4,9 @@
((name tezos_node_shell_base) ((name tezos_node_shell_base)
(public_name tezos-node-shell-base) (public_name tezos-node-shell-base)
(libraries (tezos-base (libraries (tezos-base
tezos-node-p2p-base)) tezos-p2p-services))
(flags (:standard -open Tezos_base__TzPervasives (flags (:standard -open Tezos_base__TzPervasives
-open Tezos_node_p2p_base)))) -open Tezos_p2p_services))))
(alias (alias
((name runtest_indent) ((name runtest_indent)

View File

@ -13,7 +13,7 @@ depends: [
"mtime" "mtime"
"ocplib-resto-cohttp" "ocplib-resto-cohttp"
"tezos-base" "tezos-base"
"tezos-node-p2p-base" "tezos-p2p-services"
] ]
build: [ build: [
[ "jbuilder" "build" "-p" name "-j" jobs ] [ "jbuilder" "build" "-p" name "-j" jobs ]

View File

@ -8,8 +8,8 @@
tezos-protocol-compiler tezos-protocol-compiler
tezos-storage tezos-storage
tezos-rpc-http tezos-rpc-http
tezos-p2p-services
tezos-node-services tezos-node-services
tezos-node-p2p-base
dynlink)) dynlink))
(flags (:standard -w -9+27-30-32-40@8 (flags (:standard -w -9+27-30-32-40@8
-safe-string -safe-string
@ -18,8 +18,8 @@
-open Tezos_protocol_compiler -open Tezos_protocol_compiler
-open Tezos_storage -open Tezos_storage
-open Tezos_rpc_http -open Tezos_rpc_http
-open Tezos_node_services -open Tezos_p2p_services
-open Tezos_node_p2p_base)))) -open Tezos_node_services))))
(alias (alias
((name runtest_indent) ((name runtest_indent)

View File

@ -14,8 +14,8 @@ depends: [
"tezos-protocol-compiler" "tezos-protocol-compiler"
"tezos-storage" "tezos-storage"
"tezos-rpc-http" "tezos-rpc-http"
"tezos-p2p-services"
"tezos-node-services" "tezos-node-services"
"tezos-node-p2p-base"
] ]
build: [ build: [
[ "jbuilder" "build" "-p" name "-j" jobs ] [ "jbuilder" "build" "-p" name "-j" jobs ]

View File

@ -1,14 +1,14 @@
(jbuild_version 1) (jbuild_version 1)
(library (library
((name tezos_node_p2p) ((name tezos_p2p)
(public_name tezos-node-p2p) (public_name tezos-p2p)
(libraries (tezos-base (libraries (tezos-base
tezos-node-p2p-base)) tezos-p2p-services))
(flags (:standard -w -9+27-30-32-40@8 (flags (:standard -w -9+27-30-32-40@8
-safe-string -safe-string
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_node_p2p_base)))) -open Tezos_p2p_services))))
(alias (alias
((name runtest_indent) ((name runtest_indent)

View File

@ -10,7 +10,7 @@ depends: [
"ocamlfind" { build } "ocamlfind" { build }
"jbuilder" { build & >= "1.0+beta15" } "jbuilder" { build & >= "1.0+beta15" }
"tezos-base" "tezos-base"
"tezos-node-p2p-base" "tezos-p2p-services"
] ]
build: [ build: [
[ "jbuilder" "build" "-p" name "-j" jobs ] [ "jbuilder" "build" "-p" name "-j" jobs ]

View File

@ -1,8 +1,8 @@
(jbuild_version 1) (jbuild_version 1)
(library (library
((name tezos_node_p2p_base) ((name tezos_p2p_services)
(public_name tezos-node-p2p-base) (public_name tezos-p2p-services)
(libraries (tezos-base)) (libraries (tezos-base))
(flags (:standard -open Tezos_base__TzPervasives -safe-string)))) (flags (:standard -open Tezos_base__TzPervasives -safe-string))))

View File

@ -5,16 +5,16 @@
test_p2p_connection_pool test_p2p_connection_pool
test_p2p_io_scheduler)) test_p2p_io_scheduler))
(libraries (tezos-base (libraries (tezos-base
tezos-node-p2p-base tezos-p2p-services
tezos-node-p2p tezos-p2p
lwt.unix lwt.unix
test_lib)) test_lib))
(flags (:standard -w -9-32 (flags (:standard -w -9-32
-linkall -linkall
-safe-string -safe-string
-open Tezos_base__TzPervasives -open Tezos_base__TzPervasives
-open Tezos_node_p2p_base -open Tezos_p2p_services
-open Tezos_node_p2p)))) -open Tezos_p2p))))
(alias (alias
((name buildtest) ((name buildtest)