Skip to content

Commit

Permalink
Revert "Install melange 1.0 (#757) (#758)"
Browse files Browse the repository at this point in the history
This reverts commit 684ffac.
  • Loading branch information
anmonteiro committed Sep 13, 2023
1 parent 47663d0 commit 78403cd
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 525 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ 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: 4 additions & 20 deletions flake.lock

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

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
inputs.flake-utils.follows = "flake-utils";
};
melange = {
url = "github:melange-re/melange/1.0.0";
url = "github:melange-re/melange";
inputs.nixpkgs.follows = "nixpkgs";
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_List = require("melange.belt/./belt_List.js");
var Belt__Belt_List = require("melange.belt/belt_List.js");
var JsxRuntime = require("react/jsx-runtime");
function X$App(Props) {
return Belt_List.toArray(Belt_List.map({
return Belt__Belt_List.toArray(Belt__Belt_List.map({
hd: "Hello!",
tl: {
hd: "This is React!",
Expand Down
Loading

0 comments on commit 78403cd

Please sign in to comment.