-
Notifications
You must be signed in to change notification settings - Fork 43
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 #71 from smolkaj/master
upgrade to dune, opam >= 2.0
- Loading branch information
Showing
10 changed files
with
88 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 1.0) | ||
(name sedlex) |
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,41 @@ | ||
(executables | ||
(names tokenizer complement subtraction repeat performance) | ||
(libraries sedlex) | ||
(preprocess | ||
(pps sedlex.ppx)) | ||
(flags :standard -w -39)) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< tokenizer.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< complement.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< subtraction.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< repeat.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< performance.exe)) | ||
(action | ||
(run %{<}))) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,23 +1,27 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
name: "sedlex" | ||
version: "1.99.4" | ||
synopsis: "An OCaml lexer generator for Unicode" | ||
version: "1.99.5" | ||
license: "MIT" | ||
maintainer: "Alain Frisch <[email protected]>" | ||
authors: [ | ||
"Alain Frisch <[email protected]>" | ||
"https://github.com/ocaml-community/sedlex/graphs/contributors" | ||
] | ||
homepage: "https://github.com/ocaml-community/sedlex" | ||
dev-repo: "git+https://github.com/ocaml-community/sedlex.git" | ||
bug-reports: "https://github.com/ocaml-community/sedlex/issues" | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc} | ||
] | ||
depends: [ | ||
"ocaml" {build & >= "4.02.3"} | ||
"dune" {build & >= "1.0"} | ||
"ppx_tools_versioned" | ||
"ocaml-migrate-parsetree" | ||
"gen" | ||
"uchar" | ||
] | ||
|
||
build: ["jbuilder" "build" "-p" name "-j" jobs] | ||
build-doc: ["jbuilder" "build" "@doc" "-p" name "-j" jobs] | ||
build-test: ["jbuilder" "runtest" "-p" name "-j" jobs] | ||
|
||
depends: ["jbuilder" {build} | ||
"ppx_tools_versioned" | ||
"ocaml-migrate-parsetree" | ||
"gen" | ||
"uchar" | ||
] | ||
available: [ ocaml-version >= "4.02.3" ] | ||
homepage: "https://github.com/alainfrisch/sedlex" | ||
bug-reports: "https://github.com/alainfrisch/sedlex/issues" | ||
license: "MIT" | ||
dev-repo: "https://github.com/alainfrisch/sedlex.git" |
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,6 @@ | ||
(library | ||
(name sedlex) | ||
(public_name sedlex) | ||
(wrapped false) | ||
(libraries gen uchar) | ||
(flags :standard -w +A-4-9 -safe-string)) |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
(library | ||
(name sedlex_ppx) | ||
(public_name sedlex.ppx) | ||
(kind ppx_rewriter) | ||
(libraries ppx_tools_versioned.metaquot_405 ocaml-migrate-parsetree sedlex) | ||
(ppx_runtime_libraries sedlex) | ||
(preprocess | ||
(pps ppx_tools_versioned.metaquot_405)) | ||
(flags (:standard -w -9))) |
This file was deleted.
Oops, something went wrong.