Skip to content

Commit

Permalink
fix: attempt to fix bopkit -version (regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Nov 3, 2023
1 parent c3b0526 commit cc36e55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions bin/dune
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
(executables
(names main)
(executable
(name main)
(public_name bopkit)
(libraries command-unix-for-opam bopkit_command)
(flags -w +a-4-40-42-44-66 -warn-error +a)
(preprocess
(pps ppx_jane ppx_js_style -check-doc-comments)))

(install
(section bin)
(files
(main.exe as bopkit)))
2 changes: 1 addition & 1 deletion lib/bopkit_block/src/bopkit_block.ml
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,4 @@ let main ?readme t_param =
exit 1)
;;

let run ?readme t_param = Command_unix.run (main ?readme t_param)
let run ?readme t_param = Command_unix_for_opam.run (main ?readme t_param)
2 changes: 1 addition & 1 deletion lib/bopkit_block/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
(name bopkit_block)
(public_name bopkit.block)
(flags -w +a-4-40-42-44-66 -warn-error +a -open Core)
(libraries core bit_utils core_unix.command_unix)
(libraries core bit_utils command-unix-for-opam)
(preprocess
(pps ppx_jane)))

0 comments on commit cc36e55

Please sign in to comment.