Skip to content

Commit eb6cb4b

Browse files
authored
Merge pull request #9 from kit-ty-kate/release-2.1
Prepare release 2.1
2 parents e4adf6e + ff0ca57 commit eb6cb4b

File tree

5 files changed

+19
-39
lines changed

5 files changed

+19
-39
lines changed

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
v2.1 (23/10/2020)
2+
-----------------
3+
4+
- Upgrade to ppxlib 0.18.0 (#8, @NathanReb)
5+
6+
v2.0 (12/08/2020)
7+
-----------------
8+
9+
- Switch from `topkg`/`ocamlbuild` to `dune` (#6, @kit-ty-kate)
10+
- Switch from `ppx_tools` to `ppxlib` (#6, #7, @kit-ty-kate)
11+
12+
These changes bring OCaml 4.11 support as well as the ability to use `ppx_getenv` directly in `dune`.

Makefile

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,10 @@
11
build:
2-
cp pkg/META.in pkg/META
3-
ocaml pkg/build.ml native=true native-dynlink=true
2+
dune build
43

5-
test: build
6-
rm _build/src_test/ -rf
7-
ocamlbuild -classic-display -use-ocamlfind src_test/test_ppx_getenv.byte --
4+
test:
5+
dune runtest -f
86

97
clean:
10-
ocamlbuild -clean
11-
rm pkg/META
8+
dune clean
129

1310
.PHONY: build test clean
14-
15-
VERSION := $$(opam query --version)
16-
NAME_VERSION := $$(opam query --name-version)
17-
ARCHIVE := $$(opam query --archive)
18-
19-
release:
20-
git tag -a v$(VERSION) -m "Version $(VERSION)."
21-
git push origin v$(VERSION)
22-
opam publish prepare $(NAME_VERSION) $(ARCHIVE)
23-
cp -t $(NAME_VERSION) descr
24-
grep -Ev '^(name|version):' opam >$(NAME_VERSION)/opam
25-
opam publish submit $(NAME_VERSION)
26-
rm -rf $(NAME_VERSION)
27-
28-
.PHONY: release

dune-project

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
(lang dune 2.0)
22
(name ppx_getenv)
3-
(version 2.0)
3+
(version 2.1)
44

5+
(formatting disabled)
56
(generate_opam_files true)
67

78
(maintainers "whitequark <[email protected]>")

ppx_getenv.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "2.0"
3+
version: "2.1"
44
synopsis: "A sample syntax extension using OCaml's new extension points API"
55
maintainer: ["whitequark <[email protected]>"]
66
authors: ["whitequark <[email protected]>"]

0 commit comments

Comments
 (0)