Skip to content

Commit

Permalink
Rename _command to _cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Feb 23, 2025
1 parent 548f1c4 commit 72ac6c0
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 19 deletions.
4 changes: 2 additions & 2 deletions bin/dune
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(executable
(name main)
(public_name ocaml-vcs)
(package vcs-command)
(package vcs-cli)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries cmdlang-cmdliner-runner pp-log.err vcs vcs-command)
(libraries cmdlang-cmdliner-runner pp-log.err vcs vcs-cli)
(instrumentation
(backend bisect_ppx)))
2 changes: 1 addition & 1 deletion bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

let () =
Cmdlang_cmdliner_runner.run
Vcs_command.main
Vcs_cli.main
~name:"ocaml-vcs"
~version:"%%VERSION%%"
~exn_handler:(function
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/explanation/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(package vcs-dev)
(deps
(package vcs)
(package vcs-command))
(package vcs-cli))
(preludes prelude.txt))
6 changes: 3 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
(= :version))))

(package
(name vcs-command)
(name vcs-cli)
(synopsis "A command line tool for the Vcs library")
(depends
(ocaml
Expand Down Expand Up @@ -405,7 +405,7 @@
(= :version))
(vcs-base
(= :version))
(vcs-command
(vcs-cli
(= :version))
(vcs-git-blocking
(= :version))
Expand Down Expand Up @@ -535,7 +535,7 @@
(= :version))
(vcs-base
(= :version))
(vcs-command
(vcs-cli
(= :version))
(vcs-git-blocking
(= :version))
Expand Down
4 changes: 2 additions & 2 deletions headache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ dirs=(
"lib/vcs/test"
"lib/vcs_base/src"
"lib/vcs_base/test"
"lib/vcs_command/src"
"lib/vcs_command/test"
"lib/vcs_cli/src"
"lib/vcs_cli/test"
"lib/vcs_git_blocking/src"
"lib/vcs_git_blocking/test"
"lib/vcs_git_eio/src"
Expand Down
4 changes: 2 additions & 2 deletions lib/vcs_command/src/dune → lib/vcs_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name vcs_command)
(public_name vcs-command)
(name vcs_cli)
(public_name vcs-cli)
(flags
:standard
-w
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 3 additions & 6 deletions lib/vcs_command/test/dune → lib/vcs_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name vcs_command_test)
(public_name vcs-tests.vcs_command_test)
(name vcs_cli_test)
(public_name vcs-tests.vcs_cli_test)
(inline_tests)
(flags
:standard
Expand All @@ -12,10 +12,7 @@
Base
-open
Expect_test_helpers_base)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
vcs_command)
(libraries base expect_test_helpers_core.expect_test_helpers_base vcs_cli)
(instrumentation
(backend bisect_ppx))
(lint
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion vcs-dev.opam
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ depends: [
"stdio" {>= "v0.17" & < "v0.18"}
"vcs" {= version}
"vcs-base" {= version}
"vcs-command" {= version}
"vcs-cli" {= version}
"vcs-git-blocking" {= version}
"vcs-git-eio" {= version}
"vcs-git-provider" {= version}
Expand Down
2 changes: 1 addition & 1 deletion vcs-tests.opam
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ depends: [
"stdio" {>= "v0.17" & < "v0.18"}
"vcs" {= version}
"vcs-base" {= version}
"vcs-command" {= version}
"vcs-cli" {= version}
"vcs-git-blocking" {= version}
"vcs-git-eio" {= version}
"vcs-git-provider" {= version}
Expand Down

0 comments on commit 72ac6c0

Please sign in to comment.