Skip to content

Commit

Permalink
Don't remove all packages matching ocaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Aug 10, 2023
1 parent c6207d8 commit 794873f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ archi: $(EXTRA_DIR)/ocamldot/ocamldot
echo "}" >> archi.dot
dot -Tpdf archi.dot > archi.pdf

lock:
lock: clean lib
opam lock ./alt-ergo-lib.opam -w
# Remove OCaml compiler constraints
sed -i '/\"ocaml/d' ./alt-ergo-lib.opam.locked
sed -i '/"ocaml"\|"ocaml-base-compiler"\|"ocaml-system"\|"ocaml-config"/d' ./alt-ergo-lib.opam.locked

dev-switch:
opam switch create -y . --deps-only --ignore-constraints-on alt-ergo-lib,alt-ergo-parsers
Expand Down
3 changes: 3 additions & 0 deletions alt-ergo-lib.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ depends: [
"menhirLib" {= "20230608"}
"menhirSdk" {= "20230608"}
"num" {= "1.4"}
"ocaml-compiler-libs" {= "v0.12.4"}
"ocamlbuild" {= "0.14.2"}
"ocamlfind" {= "1.9.6"}
"ocplib-endian" {= "1.2"}
"ocplib-simplex" {= "0.5"}
"pp_loc" {= "2.1.0"}
Expand Down

0 comments on commit 794873f

Please sign in to comment.