Jbuilder: move protocol-compiler
in its own OPAM package
This commit is contained in:
parent
e24b1dda75
commit
78d838059f
4
Makefile
4
Makefile
@ -5,10 +5,10 @@ all:
|
|||||||
@jbuilder build ${DEV} \
|
@jbuilder build ${DEV} \
|
||||||
src/node_main.exe \
|
src/node_main.exe \
|
||||||
src/client_main.exe \
|
src/client_main.exe \
|
||||||
src/compiler_main.exe
|
lib_protocol_compiler/main.exe
|
||||||
@cp _build/default/src/node_main.exe tezos-node
|
@cp _build/default/src/node_main.exe tezos-node
|
||||||
@cp _build/default/src/client_main.exe tezos-client
|
@cp _build/default/src/client_main.exe tezos-client
|
||||||
@cp _build/default/src/compiler_main.exe tezos-protocol-compiler
|
@cp _build/default/lib_protocol_compiler/main.exe tezos-protocol-compiler
|
||||||
|
|
||||||
doc-html:
|
doc-html:
|
||||||
@jbuilder build @doc ${DEV}
|
@jbuilder build @doc ${DEV}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
(library
|
(library
|
||||||
((name tezos_protocol_compiler)
|
((name tezos_protocol_compiler)
|
||||||
(public_name tezos.protocol_compiler)
|
(public_name tezos-protocol-compiler)
|
||||||
(libraries (tezos-base
|
(libraries (tezos-base
|
||||||
tezos-protocol-environment-sigs
|
tezos-protocol-environment-sigs
|
||||||
compiler-libs
|
compiler-libs
|
||||||
@ -23,7 +23,17 @@
|
|||||||
(flags (:standard -w -9+27-30-32-40@8
|
(flags (:standard -w -9+27-30-32-40@8
|
||||||
-safe-string
|
-safe-string
|
||||||
-opaque
|
-opaque
|
||||||
-open Tezos_base__TzPervasives))))
|
-open Tezos_base__TzPervasives))
|
||||||
|
(modules (:standard \ Main))))
|
||||||
|
|
||||||
|
(executable
|
||||||
|
((name main)
|
||||||
|
(public_name tezos-protocol-compiler)
|
||||||
|
(package tezos-protocol-compiler)
|
||||||
|
(modes (native))
|
||||||
|
(libraries (tezos-protocol-compiler))
|
||||||
|
(flags (:standard -linkall))
|
||||||
|
(modules (Main))))
|
||||||
|
|
||||||
(alias
|
(alias
|
||||||
((name runtest_indent)
|
((name runtest_indent)
|
26
lib_protocol_compiler/tezos-protocol-compiler.opam
Normal file
26
lib_protocol_compiler/tezos-protocol-compiler.opam
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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+beta15" }
|
||||||
|
"tezos-base"
|
||||||
|
"tezos-protocol-environment-sigs"
|
||||||
|
"compiler-libs"
|
||||||
|
"compiler-libs.optcomp"
|
||||||
|
"lwt.unix"
|
||||||
|
"ocplib-endian"
|
||||||
|
"ocplib-ocamlres"
|
||||||
|
"unix"
|
||||||
|
]
|
||||||
|
build: [
|
||||||
|
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||||
|
]
|
||||||
|
build-test: [
|
||||||
|
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||||
|
]
|
@ -7,7 +7,7 @@
|
|||||||
node_shell
|
node_shell
|
||||||
node_db
|
node_db
|
||||||
node_updater
|
node_updater
|
||||||
tezos_protocol_compiler))
|
tezos-protocol-compiler))
|
||||||
(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))
|
||||||
|
10
src/jbuild
10
src/jbuild
@ -1,15 +1,5 @@
|
|||||||
(jbuild_version 1)
|
(jbuild_version 1)
|
||||||
|
|
||||||
(executable
|
|
||||||
((name compiler_main)
|
|
||||||
(public_name tezos-protocol-compiler)
|
|
||||||
(package tezos)
|
|
||||||
(libraries (tezos_protocol_compiler))
|
|
||||||
(flags (:standard -w -9+27-30-32-40@8
|
|
||||||
-safe-string
|
|
||||||
-linkall))
|
|
||||||
(modules (Compiler_main))))
|
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
((name node_main)
|
((name node_main)
|
||||||
(public_name tezos-node)
|
(public_name tezos-node)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
(public_name tezos.node.updater)
|
(public_name tezos.node.updater)
|
||||||
(libraries (tezos-base
|
(libraries (tezos-base
|
||||||
tezos-micheline
|
tezos-micheline
|
||||||
tezos_protocol_compiler
|
tezos-protocol-compiler
|
||||||
node_net
|
node_net
|
||||||
node_db
|
node_db
|
||||||
dynlink))
|
dynlink))
|
||||||
|
Loading…
Reference in New Issue
Block a user