Skip to content

Commit

Permalink
Merge pull request #2 from mbarbin/add-tests
Browse files Browse the repository at this point in the history
Prepare release
  • Loading branch information
mbarbin authored Sep 3, 2024
2 parents 38a5f20 + 94055ba commit 25a3faf
Show file tree
Hide file tree
Showing 31 changed files with 963 additions and 364 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages

- name: Install dependencies
run: opam install . --deps-only --with-doc --with-test
run: opam install . --deps-only --with-doc --with-test --with-dev-setup

- name: Build
run: opam exec -- dune build @all @lint
Expand Down
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.2.0 (2024-09-03)

### Added

- Added test - increase coverage.

### Changed

- Rename `Loc.Txt` fields to be closer to upstream compiler libs conventions.
- Merged `With_loc` into the main module, as `Loc.Txt`.
- Revert renaming the lib `loc0` - back to `loc`.

## 0.1.0 (2024-08-23)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint:

.PHONY: deps
deps:
opam install . --deps-only --with-doc --with-test
opam install . --deps-only --with-doc --with-test --with-dev-setup

.PHONY: doc
doc:
Expand Down
22 changes: 15 additions & 7 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(lang dune 3.16)

(name loc0)
(name loc)

(generate_opam_files)

Expand All @@ -16,20 +16,24 @@
(documentation "https://mbarbin.github.io/loc/")

(package
(name loc0)
(name loc)
(synopsis "Representing ranges of lexing positions from parsed files")
(depends
(ocaml
(>= 5.2))
(ocamlformat
(and
:with-dev-setup
(= 0.26.2)))
(bisect_ppx
(and
:dev
:with-dev-setup
(>= 2.8.3)))
(fpath
(>= 0.7.3))
(ppx_js_style
(and
:dev
:with-dev-setup
(>= v0.17)
(< v0.18)))
(sexplib0
Expand All @@ -45,21 +49,25 @@
(depends
(ocaml
(>= 5.2))
(ocamlformat
(and
:with-dev-setup
(= 0.26.2)))
(base
(and
(>= v0.17)
(< v0.18)))
(bisect_ppx
(and
:dev
:with-dev-setup
(>= 2.8.3)))
(expect_test_helpers_core
(and
(>= v0.17)
(< v0.18)))
(fpath
(>= 0.7.3))
(loc0
(loc
(= :version))
(ppx_compare
(and
Expand All @@ -83,7 +91,7 @@
(< v0.18)))
(ppx_js_style
(and
:dev
:with-dev-setup
(>= v0.17)
(< v0.18)))
(ppx_let
Expand Down
135 changes: 0 additions & 135 deletions lib/loc0/src/loc.ml

This file was deleted.

92 changes: 0 additions & 92 deletions lib/loc0/src/loc.mli

This file was deleted.

34 changes: 0 additions & 34 deletions lib/loc0/src/with_loc.ml

This file was deleted.

Loading

0 comments on commit 25a3faf

Please sign in to comment.