Skip to content

Commit

Permalink
Merge pull request #153 from kit-ty-kate/opam-depext-1.2.3
Browse files Browse the repository at this point in the history
Fix critical issues with release 1.2.2
  • Loading branch information
kit-ty-kate committed Aug 15, 2024
2 parents 3f8b78a + 04f4330 commit 2a457d6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.2.3 (2024-08-15):
* Fix compilation in non-dev mode, broke by #149 (#153 by @kit-ty-kate)
* Fix constant runtime error, broke by #150 (#153 by @kit-ty-kate)

1.2.2 (2024-08-05):
* Fix build on bytecode-only systems (#149 by @dra27)
* Fix opam-depext in the presence of OPAMCOLOR=always (#150 by @kit-ty-kate)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all: shell/build.sh
cd src_ext && $(MAKE) OCAMLOPT=no bcl
cd src_ext && $(MAKE) OCAMLOPT=no
sh -ex shell/build.sh

shell/build.sh: shell/build.ml
Expand Down
8 changes: 4 additions & 4 deletions depext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ let run_opam f fmt =
let execute command =
let opam =
if is_opam_2_0 () then
"opam --color=never "
"opam "
else
"opam --color=never --cli=2.1 "
"opam --cli=2.1 "
in
f (opam ^ command)
f (opam ^ command ^ " --color=never")
in
Printf.ksprintf execute fmt

Expand Down Expand Up @@ -625,7 +625,7 @@ let command =
with_tests_arg $ with_docs_arg $
su_arg $ interactive_arg $ opam_args $
packages_arg),
Term.info "opam-depext" ~version:"1.2.2" ~doc ~man
Term.info "opam-depext" ~version:"1.2.3" ~doc ~man

let () =
Sys.catch_break true;
Expand Down
2 changes: 1 addition & 1 deletion opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "opam-depext"
version: "1.2.2"
version: "1.2.3"
maintainer: [
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Anil Madhavapeddy <anil@recoil.org>"
Expand Down

0 comments on commit 2a457d6

Please sign in to comment.