Skip to content

Commit

Permalink
Merge pull request #15 from mbarbin/pp-log
Browse files Browse the repository at this point in the history
Move some libraries to standalone repo pp-log
  • Loading branch information
mbarbin authored Nov 10, 2024
2 parents f6438fa + e388261 commit 7d7b1ed
Show file tree
Hide file tree
Showing 38 changed files with 23 additions and 2,558 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: ci

on:
- pull_request
- push
push:
branches:
- main
pull_request:
branches:
- "**" # This will match pull requests targeting any branch

jobs:
build:
Expand All @@ -27,8 +31,8 @@ jobs:
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

- name: Install dependencies
run: opam install . --deps-only --with-doc --with-test --with-dev-setup
Expand All @@ -38,8 +42,8 @@ jobs:

- name: Run tests
run: |
mkdir $BISECT_DIR
opam exec -- dune runtest --instrument-with bisect_ppx
mkdir $BISECT_DIR
opam exec -- dune runtest --instrument-with bisect_ppx
env:
BISECT_DIR: ${{ runner.temp }}/_bisect_ppx_data
BISECT_FILE: ${{ runner.temp }}/_bisect_ppx_data/data
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.0.7 (2024-11-10)

### Removed

- Moved `err`, `err-cli` and `cmdlang-cmdliner-runner` to [pp-log](https://github.com/mbarbin/pp-log).

## 0.0.6 (2024-10-24)

### Changed
Expand Down
33 changes: 0 additions & 33 deletions cmdlang-cmdliner-runner.opam

This file was deleted.

3 changes: 0 additions & 3 deletions cmdlang-tests.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ depends: [
"bisect_ppx" {with-dev-setup & >= "2.8.3"}
"climate" {>= "0.1.0~" & < "0.2"}
"cmdlang" {= version}
"cmdlang-cmdliner-runner" {= version}
"cmdlang-to-base" {= version}
"cmdlang-to-climate" {= version}
"cmdlang-to-cmdliner" {= version}
"cmdliner" {>= "1.3.0"}
"core" {>= "v0.17" & < "v0.18"}
"core_unix" {>= "v0.17" & < "v0.18"}
"err" {= version}
"err-cli" {= version}
"expect_test_helpers_core" {>= "v0.17" & < "v0.18"}
"loc" {>= "0.2.0"}
"mdx" {>= "2.4"}
Expand Down
10 changes: 0 additions & 10 deletions doc/docs/reference/odoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,3 @@ We plan to release the following packages soon to allow interested parties to ex
| cmdlang-to-base | planned |

We also plan to release the translation to `core.command`. However, this will require additional work. Specifically, we aim to complete the coverage of that part of the code and exercise the translation using special configuration options in a tutorial.

### To be determined

| package | released to opam |
|---------------------------|:----------------:|
| err | TBD |
| err-cli | TBD |
| cmdlang-cmdliner-runner | TBD |

These packages are more experimental and opinionated in nature. They will require further consideration and potential redesign before being released.
62 changes: 0 additions & 62 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,6 @@
(ocaml
(>= 4.14))))

(package
(name err)
(synopsis "Error Handling Standard Based on Human Readable Messages")
(depends
(ocaml
(>= 5.2))
(loc
(>= 0.2.0))
(sexplib0
(and
(>= v0.17)
(< v0.18)))
(stdune
(>= 3.16))))

(package
(name err-cli)
(synopsis
"Command line interface configuration for [Err] based on [Cmdlang]")
(depends
(ocaml
(>= 5.2))
(cmdlang
(= :version))
(err
(= :version))
(fmt
(>= 0.9.0))
(loc
(>= 0.2.0))
(logs
(>= 0.7.0))
(sexplib0
(and
(>= v0.17)
(< v0.18)))
(stdune
(>= 3.16))))

(package
(name cmdlang-to-base)
(synopsis "Convert cmdlang Parsers to core.command")
Expand Down Expand Up @@ -142,23 +103,6 @@
(cmdlang
(= :version))))

(package
(name cmdlang-cmdliner-runner)
(synopsis "A cmdlang runner using cmdliner and err")
(depends
(ocaml
(>= 4.14))
(cmdlang
(= :version))
(cmdlang-to-cmdliner
(= :version))
(cmdliner
(and
(>= 1.3.0)
(< 1.4)))
(err
(= :version))))

(package
(name cmdlang-tests)
(synopsis "Tests for cmdlang")
Expand All @@ -183,8 +127,6 @@
(< 0.2)))
(cmdlang
(= :version))
(cmdlang-cmdliner-runner
(= :version))
(cmdlang-to-base
(= :version))
(cmdlang-to-climate
Expand All @@ -201,10 +143,6 @@
(and
(>= v0.17)
(< v0.18)))
(err
(= :version))
(err-cli
(= :version))
(expect_test_helpers_core
(and
(>= v0.17)
Expand Down
36 changes: 0 additions & 36 deletions err-cli.opam

This file was deleted.

32 changes: 0 additions & 32 deletions err.opam

This file was deleted.

15 changes: 0 additions & 15 deletions lib/cmdlang_cmdliner_runner/src/cmdlang_cmdliner_runner.ml

This file was deleted.

16 changes: 0 additions & 16 deletions lib/cmdlang_cmdliner_runner/src/cmdlang_cmdliner_runner.mli

This file was deleted.

10 changes: 0 additions & 10 deletions lib/cmdlang_cmdliner_runner/src/dune

This file was deleted.

33 changes: 0 additions & 33 deletions lib/cmdlang_cmdliner_runner/test/dune

This file was deleted.

10 changes: 0 additions & 10 deletions lib/err/src/dune

This file was deleted.

Loading

0 comments on commit 7d7b1ed

Please sign in to comment.