-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from minima-app/win-fix
Fix windows build
- Loading branch information
Showing
8 changed files
with
78 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"overrides": [], | ||
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/re@opam:1.8.0@7baac1a7", | ||
"@opam/dune@opam:1.8.2@511996a8", "@esy-ocaml/[email protected]@d41d8cd9" | ||
"@opam/dune@opam:1.9.0@a7408d38", "@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
}, | ||
|
@@ -56,7 +56,7 @@ | |
"dependencies": [ | ||
"[email protected]@d41d8cd9", "[email protected]@d41d8cd9", | ||
"@opam/ocaml-migrate-parsetree@opam:1.2.0@23e55f71", | ||
"@opam/dune@opam:1.8.2@511996a8", "@esy-ocaml/[email protected]@d41d8cd9", | ||
"@opam/dune@opam:1.9.0@a7408d38", "@esy-ocaml/[email protected]@d41d8cd9", | ||
"@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [ "@opam/merlin@opam:3.2.2@829ee6dd" ] | ||
|
@@ -80,7 +80,7 @@ | |
"overrides": [], | ||
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"@opam/dune@opam:1.8.2@511996a8", "@opam/cppo@opam:1.6.5@bec3dbd9", | ||
"@opam/dune@opam:1.9.0@a7408d38", "@opam/cppo@opam:1.6.5@bec3dbd9", | ||
"@opam/biniou@opam:1.2.0@c8516f18", | ||
"@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
|
@@ -180,7 +180,7 @@ | |
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.8.2@511996a8", | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.9.0@a7408d38", | ||
"@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [ "[email protected]@d41d8cd9" ] | ||
|
@@ -257,15 +257,15 @@ | |
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/result@opam:1.3@bee8bf2e", | ||
"@opam/ppx_derivers@opam:1.2.1@0b458500", | ||
"@opam/dune@opam:1.8.2@511996a8", "@esy-ocaml/[email protected]@d41d8cd9" | ||
"@opam/dune@opam:1.9.0@a7408d38", "@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/result@opam:1.3@bee8bf2e", | ||
"@opam/ppx_derivers@opam:1.2.1@0b458500" | ||
] | ||
}, | ||
"@opam/merlin-extend@opam:0.3@e1fc0d08": { | ||
"id": "@opam/merlin-extend@opam:0.3@e1fc0d08", | ||
"@opam/merlin-extend@opam:0.3@0af73a50": { | ||
"id": "@opam/merlin-extend@opam:0.3@0af73a50", | ||
"name": "@opam/merlin-extend", | ||
"version": "opam:0.3", | ||
"source": { | ||
|
@@ -312,7 +312,7 @@ | |
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/yojson@opam:1.7.0@2d92307e", | ||
"@opam/ocamlfind@opam:1.8.0@f744a0c5", | ||
"@opam/dune@opam:1.8.2@511996a8", "@esy-ocaml/[email protected]@d41d8cd9" | ||
"@opam/dune@opam:1.9.0@a7408d38", "@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/yojson@opam:1.7.0@2d92307e", | ||
|
@@ -365,11 +365,11 @@ | |
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.8.2@511996a8", | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.9.0@a7408d38", | ||
"@esy-ocaml/[email protected]@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.8.2@511996a8" | ||
"[email protected]@d41d8cd9", "@opam/dune@opam:1.9.0@a7408d38" | ||
] | ||
}, | ||
"@opam/easy-format@opam:1.3.1@9abfd4ed": { | ||
|
@@ -395,26 +395,26 @@ | |
], | ||
"devDependencies": [ "[email protected]@d41d8cd9" ] | ||
}, | ||
"@opam/dune@opam:1.8.2@511996a8": { | ||
"id": "@opam/dune@opam:1.8.2@511996a8", | ||
"@opam/dune@opam:1.9.0@a7408d38": { | ||
"id": "@opam/dune@opam:1.9.0@a7408d38", | ||
"name": "@opam/dune", | ||
"version": "opam:1.8.2", | ||
"version": "opam:1.9.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/2b/2b7f45a6e14865f2318d34f12221ec1e#md5:2b7f45a6e14865f2318d34f12221ec1e", | ||
"archive:https://github.com/ocaml/dune/releases/download/1.8.2/dune-1.8.2.tbz#md5:2b7f45a6e14865f2318d34f12221ec1e" | ||
"archive:https://opam.ocaml.org/cache/md5/73/732b2d9d273b3e3d8472a8094ec2e1ad#md5:732b2d9d273b3e3d8472a8094ec2e1ad", | ||
"archive:https://github.com/ocaml/dune/releases/download/1.9.0/dune-1.9.0.tbz#md5:732b2d9d273b3e3d8472a8094ec2e1ad" | ||
], | ||
"opam": { | ||
"name": "dune", | ||
"version": "1.8.2", | ||
"path": "ppx.esy.lock/opam/dune.1.8.2" | ||
"version": "1.9.0", | ||
"path": "ppx.esy.lock/opam/dune.1.9.0" | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"opamoverride": | ||
"ppx.esy.lock/overrides/opam__s__dune_opam__c__1.8.2_opam_override" | ||
"ppx.esy.lock/overrides/opam__s__dune_opam__c__1.9.0_opam_override" | ||
} | ||
], | ||
"dependencies": [ | ||
|
@@ -596,9 +596,9 @@ | |
"[email protected]@d41d8cd9", "@opam/result@opam:1.3@bee8bf2e", | ||
"@opam/ocamlfind@opam:1.8.0@f744a0c5", | ||
"@opam/ocaml-migrate-parsetree@opam:1.2.0@23e55f71", | ||
"@opam/merlin-extend@opam:0.3@e1fc0d08", | ||
"@opam/merlin-extend@opam:0.3@0af73a50", | ||
"@opam/menhir@opam:20171013@e2d3ef03", | ||
"@opam/dune@opam:1.8.2@511996a8" | ||
"@opam/dune@opam:1.9.0@a7408d38" | ||
], | ||
"devDependencies": [] | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
34 changes: 34 additions & 0 deletions
34
...am__s__merlin_extend_opam__c__0.3_opam_override/files/merlin-extend-winfix-4.2.3007.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- ./extend_helper.ml | ||
+++ ./extend_helper.ml | ||
@@ -1,13 +1,6 @@ | ||
-(*pp cppo -V OCAML:`ocamlc -version` *) | ||
open Parsetree | ||
open Extend_protocol | ||
|
||
-#if OCAML_VERSION < (4, 3, 0) | ||
-# define CONST_STRING Asttypes.Const_string | ||
-#else | ||
-# define CONST_STRING Parsetree.Pconst_string | ||
-#endif | ||
- | ||
(** Default implementation for [Reader_def.print_outcome] using | ||
[Oprint] from compiler-libs *) | ||
let print_outcome_using_oprint ppf = function | ||
@@ -28,7 +21,7 @@ | ||
pstr_loc = Location.none; | ||
pstr_desc = Pstr_eval ({ | ||
pexp_loc = Location.none; | ||
- pexp_desc = Pexp_constant (CONST_STRING (msg, None)); | ||
+ pexp_desc = Pexp_constant (Asttypes.Const_string (msg, None)); | ||
pexp_attributes = []; | ||
}, []); | ||
}] | ||
@@ -112,7 +105,7 @@ | ||
let msg = match payload with | ||
| PStr [{ | ||
pstr_desc = Pstr_eval ({ | ||
- pexp_desc = Pexp_constant (CONST_STRING (msg, _)); | ||
+ pexp_desc = Pexp_constant (Asttypes.Const_string (msg, _)); | ||
}, _); | ||
}] -> msg | ||
| _ -> "Warning: extension produced an incorrect syntax-error node" |
5 changes: 4 additions & 1 deletion
5
ppx.esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters