Skip to content

Commit 9da6b48

Browse files
committed
tag 0.14.1
1 parent 9ec7c12 commit 9da6b48

File tree

3 files changed

+32
-15
lines changed

3 files changed

+32
-15
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 0.14.1
22

33
* Support JSX transform with fragments (@tatchi in
44
[#835](https://github.com/reasonml/reason-react/pull/835))

flake.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@
1616
pkgs = nixpkgs.legacyPackages."${system}".appendOverlays [
1717
(self: super: { ocamlPackages = super.ocaml-ng.ocamlPackages_5_2; })
1818
];
19+
20+
makeDevShell = { packages, release-mode ? false }:
21+
pkgs.mkShell {
22+
# dontDetectOcamlConflicts = true;
23+
inputsFrom = pkgs.lib.attrValues packages;
24+
nativeBuildInputs =
25+
with pkgs.ocamlPackages; [ ocamlformat pkgs.nodejs_latest ]
26+
++ pkgs.lib.optionals release-mode (with pkgs; [
27+
cacert
28+
curl
29+
ocamlPackages.dune-release
30+
ocamlPackages.odoc
31+
git
32+
]);
33+
propagatedBuildInputs = with pkgs.ocamlPackages; [ merlin ];
34+
};
1935
in
2036

2137
rec {
@@ -35,8 +51,10 @@
3551
};
3652
# Due to a Reason version mismatch, the generated OCaml PPX diff
3753
# looks different
38-
doCheck = false;
39-
nativeCheckInputs = [ reason ];
54+
doCheck = true;
55+
checkInputs = [ ];
56+
checkPhase = "dune build @runtest -p reason-react,reason-react-ppx";
57+
nativeCheckInputs = [ reason merlin pkgs.jq ];
4058
propagatedBuildInputs = [ ppxlib ];
4159
};
4260

@@ -66,11 +84,10 @@
6684
};
6785

6886
devShells = {
69-
default = pkgs.mkShell {
70-
dontDetectOcamlConflicts = true;
71-
inputsFrom = pkgs.lib.attrValues packages;
72-
nativeBuildInputs = with pkgs.ocamlPackages; [ ocamlformat pkgs.nodejs_latest ];
73-
propagatedBuildInputs = with pkgs.ocamlPackages; [ merlin ];
87+
default = makeDevShell { inherit packages; };
88+
release = makeDevShell {
89+
inherit packages;
90+
release-mode = true;
7491
};
7592
};
7693
});

0 commit comments

Comments
 (0)