Skip to content

Commit

Permalink
Install melange 1.0 (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx authored Aug 3, 2023
1 parent 52aa51b commit d958c23
Show file tree
Hide file tree
Showing 5 changed files with 1,024 additions and 1,008 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ format-check: ## Checks if format is correct

.PHONY: install
install: ## Update the package dependencies when new deps are added to dune-project
@opam pin add -y melange --dev-repo
@opam install . --deps-only --with-test
@npm install

Expand Down
24 changes: 20 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
inputs.flake-utils.follows = "flake-utils";
};
melange = {
url = "github:melange-re/melange";
inputs.nixpkgs.follows = "nixpkgs";
url = "github:melange-re/melange/1.0.0";
inputs.flake-utils.follows = "flake-utils";
inputs.nix-filter.follows = "nix-filter";
};
Expand Down
4 changes: 2 additions & 2 deletions ppx/test/react.t
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ Demonstrate how to use the React JSX PPX
// Generated by Melange
'use strict';
var Belt__Belt_List = require("melange.belt/belt_List.js");
var Belt_List = require("melange.belt/./belt_List.js");
var JsxRuntime = require("react/jsx-runtime");
function X$App(Props) {
return Belt__Belt_List.toArray(Belt__Belt_List.map({
return Belt_List.toArray(Belt_List.map({
hd: "Hello!",
tl: {
hd: "This is React!",
Expand Down
Loading

0 comments on commit d958c23

Please sign in to comment.