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 6, 2023
1 parent e8cd1f0 commit dbd608b
Show file tree
Hide file tree
Showing 5 changed files with 1,008 additions and 1,024 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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 dbd608b

Please sign in to comment.