Refactor: Regroup protocols
This commit is contained in:
parent
a3d0ee644a
commit
1f3c68cbd8
@ -1,7 +1,7 @@
|
|||||||
diff --git a/src/lib_embedded_protocol_alpha/src/constants_repr.ml b/src/lib_embedded_protocol_alpha/src/constants_repr.ml
|
diff --git a/src/proto_alpha/lib_protocol_alpha/src/constants_repr.ml b/src/proto_alpha/lib_protocol_alpha/src/constants_repr.ml
|
||||||
index 61e79c8a..f91ce282 100644
|
index 61e79c8a..f91ce282 100644
|
||||||
--- a/src/lib_embedded_protocol_alpha/src/constants_repr.ml
|
--- a/src/proto_alpha/lib_protocol_alpha/src/constants_repr.ml
|
||||||
+++ b/src/lib_embedded_protocol_alpha/src/constants_repr.ml
|
+++ b/src/proto_alpha/lib_protocol_alpha/src/constants_repr.ml
|
||||||
@@ -49,15 +49,14 @@ let read_public_key s =
|
@@ -49,15 +49,14 @@ let read_public_key s =
|
||||||
Ed25519.Public_key.of_bytes (Bytes.of_string (Hex_encode.hex_decode s))
|
Ed25519.Public_key.of_bytes (Bytes.of_string (Hex_encode.hex_decode s))
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../lib_protocol_compiler/jbuild_protocol_template
|
|
@ -1 +0,0 @@
|
|||||||
../../lib_protocol_compiler/jbuild_embedded_protocol_template
|
|
@ -1 +0,0 @@
|
|||||||
../lib_protocol_compiler/jbuild_protocol_template
|
|
@ -1 +0,0 @@
|
|||||||
../../lib_protocol_compiler/jbuild_embedded_protocol_template
|
|
@ -1 +0,0 @@
|
|||||||
../lib_protocol_compiler/jbuild_protocol_template
|
|
@ -1 +0,0 @@
|
|||||||
../../lib_protocol_compiler/jbuild_embedded_protocol_template
|
|
@ -1,6 +1,6 @@
|
|||||||
(* -*- tuareg -*- *)
|
(* -*- tuareg -*- *)
|
||||||
|
|
||||||
let prefix = "lib_embedded_protocol_"
|
let prefix = "lib_protocol_"
|
||||||
let dirname = Filename.basename @@ Filename.dirname @@ Sys.getcwd ()
|
let dirname = Filename.basename @@ Filename.dirname @@ Sys.getcwd ()
|
||||||
|
|
||||||
let predefined_version = None (* to be substituted in opam packages *)
|
let predefined_version = None (* to be substituted in opam packages *)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#require "unix"
|
#require "unix"
|
||||||
|
|
||||||
let prefix = "lib_embedded_protocol_"
|
let prefix = "lib_protocol_"
|
||||||
let dirname = Filename.basename @@ Sys.getcwd ()
|
let dirname = Filename.basename @@ Sys.getcwd ()
|
||||||
|
|
||||||
let predefined_version = None (* to be substituted in opam packages *)
|
let predefined_version = None (* to be substituted in opam packages *)
|
||||||
@ -28,7 +28,7 @@ let version =
|
|||||||
|
|
||||||
let path =
|
let path =
|
||||||
match predefined_version with
|
match predefined_version with
|
||||||
| None -> "src/lib_embedded_protocol_" ^ version
|
| None -> "src/proto_" ^ version ^ "/lib_protocol_" ^ version
|
||||||
| Some _ -> "."
|
| Some _ -> "."
|
||||||
|
|
||||||
let sources =
|
let sources =
|
||||||
|
1
src/proto_alpha/lib_protocol_alpha/jbuild
Symbolic link
1
src/proto_alpha/lib_protocol_alpha/jbuild
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../lib_protocol_compiler/jbuild_protocol_template
|
1
src/proto_alpha/lib_protocol_alpha/src/jbuild
Symbolic link
1
src/proto_alpha/lib_protocol_alpha/src/jbuild
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../lib_protocol_compiler/jbuild_embedded_protocol_template
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user