Opam: new release of ocp-ocamlres
This commit is contained in:
parent
0c51f7a7ca
commit
e7483ff392
@ -5,10 +5,22 @@ set -e
|
||||
script_dir="$(cd "$(dirname "$0")" && echo "$(pwd -P)/")"
|
||||
src_dir="$(dirname "$script_dir")"
|
||||
|
||||
opams=$(find "$src_dir" -name \*.opam -print)
|
||||
|
||||
export OPAMYES=yes
|
||||
|
||||
### Temporary HACK
|
||||
|
||||
## Should be in sync with `opam-unpin.sh`
|
||||
opam pin add --no-action --dev-repo sodium
|
||||
opam pin add --no-action --dev-repo ocplib-json-typed
|
||||
|
||||
## Unpin package we used to pin...
|
||||
opam pin remove --no-action ocp-ocamlres
|
||||
opam pin remove --no-action ocplib-resto
|
||||
|
||||
### End of temporary HACK
|
||||
|
||||
opams=$(find "$src_dir" -name \*.opam -print)
|
||||
|
||||
packages=
|
||||
for opam in $opams; do
|
||||
dir=$(dirname $opam)
|
||||
@ -20,15 +32,6 @@ done
|
||||
|
||||
packages=$(opam list --short --all --sort $packages)
|
||||
|
||||
### Temporary HACK
|
||||
|
||||
## Should be in sync with `opam-unpin.sh`
|
||||
opam pin add --no-action --dev-repo sodium
|
||||
opam pin add --no-action --dev-repo ocp-ocamlres
|
||||
opam pin add --no-action --dev-repo ocplib-json-typed
|
||||
|
||||
### End of temporary HACK
|
||||
|
||||
echo
|
||||
echo "Pinned packages:"
|
||||
echo "$packages" | sed 's/^/ /'
|
||||
|
@ -13,10 +13,6 @@ opam pin remove $packages
|
||||
|
||||
## Should be in sync with `opam-pin.sh`
|
||||
opam pin remove --no-action sodium
|
||||
opam pin remove --no-action ocp-ocamlres
|
||||
opam pin remove --no-action ocplib-json-typed
|
||||
|
||||
## Unpin package we used to pin...
|
||||
opam pin remove --no-action ocplib-resto
|
||||
|
||||
### End of temporary HACK
|
||||
|
@ -14,7 +14,7 @@ depends: [
|
||||
"tezos-protocol-environment-sigs"
|
||||
"lwt"
|
||||
"ocplib-endian"
|
||||
"ocp-ocamlres" { >= "dev" }
|
||||
"ocp-ocamlres" { >= "0.4" }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
|
Loading…
Reference in New Issue
Block a user