Skip to content

Commit

Permalink
Rm "old dune process". It will not be missed (#366)
Browse files Browse the repository at this point in the history
* Rm "old dune process". It will not be missed

I've had it disabled in tests, but enabled by default, which was in hindsight probably not the best.
I meant to remove it very soon after adding it, just as a compatability measure. It should have been removed long ago.

* fix esy lock

* lock to 4.8

* windows skip
  • Loading branch information
jaredly authored Dec 14, 2019
1 parent e007b2d commit e4d78b2
Show file tree
Hide file tree
Showing 40 changed files with 1,864 additions and 132 deletions.
5 changes: 0 additions & 5 deletions editor-extensions/coc.nvim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@
"type": "boolean",
"default": true,
"description": "Enables autorun of bsb"
},
"reason_language_server.useOldDuneProcess": {
"type": "boolean",
"default": true,
"description": "Keep the old process for determining package files (for compatability, will remove soon)"
}
}
}
Expand Down
7 changes: 1 addition & 6 deletions editor-extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "IDE & Syntax support for Reason/OCaml",
"author": "Jared Forsyth",
"license": "ISC",
"version": "1.7.3",
"version": "1.7.4",
"publisher": "jaredly",
"repository": {
"type": "git",
Expand Down Expand Up @@ -117,11 +117,6 @@
"type": "boolean",
"default": true,
"description": "Enables autorun of bsb"
},
"reason_language_server.useOldDuneProcess": {
"type": "boolean",
"default": true,
"description": "Keep the old process for determining package files (for compatability, will remove soon)"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions examples/dune/both/A.re
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
let x = 1
let b = B.x
print_endline(string_of_int(b))
1 change: 1 addition & 0 deletions examples/dune/both/B.re
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let x = 1
1 change: 1 addition & 0 deletions examples/dune/both/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(executable (public_name A) (name A))
Empty file added examples/dune/dune-example.opam
Empty file.
2 changes: 2 additions & 0 deletions examples/dune/dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(lang dune 1.8)
(name dune-example)
13 changes: 13 additions & 0 deletions examples/dune/esy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "dune-example",
"esy": {
"build": "dune build -p #{self.name}",
"buildsInSource": "_build"
},
"dependencies": {
"@opam/dune": "*",
"ocaml": "~4.8",
"rex-json": "jaredly/rex-json#esy",
"@esy-ocaml/reason": "*"
}
}
3 changes: 3 additions & 0 deletions examples/dune/esy.lock/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Set eol to LF so files aren't converted to CRLF-eol on Windows.
* text eol=lf
3 changes: 3 additions & 0 deletions examples/dune/esy.lock/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Reset any possible .gitignore, we want all esy.lock to be un-ignored.
!*
Loading

0 comments on commit e4d78b2

Please sign in to comment.