-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to dune, opam 2.0, sedlex 2.0 (#628)
- Loading branch information
Showing
25 changed files
with
212 additions
and
249 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
Empty file.
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,10 @@ | ||
(executable | ||
(name benchmark) | ||
(libraries core frenetic)) | ||
|
||
;; makes sure the executable is built in test mode | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(file benchmark.exe))) |
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,3 @@ | ||
(lang dune 1.0) | ||
(name frenetic) | ||
(using menhir 2.0) |
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,4 @@ | ||
(lang dune 1.1) | ||
(env | ||
(dev (flags (:standard -warn-error "-6-9-27-32..34-37..39" -w -27-6-32-34-37-9-33-39))) | ||
) |
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,43 +1,41 @@ | ||
opam-version: "1.2" | ||
available: [ ocaml-version >= "4.05.0" ] | ||
opam-version: "2.0" | ||
version: "5.0.3" | ||
synopsis: "The Frenetic Programming Language and Runtime System" | ||
maintainer: "Steffen Smolka <[email protected]>" | ||
authors: "Arjun Guha <[email protected]>, Nate Foster <[email protected]>, Steffen Smolka <[email protected]>" | ||
homepage: "http://frenetic-lang.org" | ||
bug-reports: "https://github.com/frenetic-lang/frenetic/issues" | ||
dev-repo: "https://github.com/frenetic-lang/frenetic.git" | ||
|
||
build: ["jbuilder" "build" "-p" name "-j" jobs] | ||
build-doc: ["jbuilder" "build" "@doc" "-p" name "-j" jobs] | ||
build-test: ["jbuilder" "runtest" "-p" name "-j" jobs] | ||
|
||
dev-repo: "git+https://github.com/frenetic-lang/frenetic.git" | ||
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.05.0"} | ||
"cppo" | ||
"jbuilder" {>="1.0+beta13"} | ||
"dune" {build & >= "1.0"} | ||
"odoc" | ||
######################### | ||
"async" {>= "v0.11.0" & < "v0.12.0"} | ||
"async_extended" {>= "v0.11.0" & < "v0.12.0"} | ||
"base64" {>= "2.0.0"} | ||
"base64" {>= "3.0.0"} | ||
"cohttp" | ||
"cohttp-async" | ||
"core" {>= "v0.11.0" & < "v0.12.0"} | ||
"cstruct" {>= "1.0.1"} | ||
"cstruct-async" | ||
"ipaddr" {>= "2.5.0"} | ||
"menhir" {build} | ||
"menhir" | ||
"mparser" | ||
"ocamlgraph" {>= "1.8.7"} | ||
"open" | ||
"ppxlib" | ||
"ppx_compare" | ||
"ppx_jane" | ||
"ppx_cstruct" | ||
"ppx_deriving" {>= "4.2"} | ||
"ppx_driver" | ||
"ppx_enumerate" | ||
"ppx_fields_conv" | ||
"ppx_sexp_conv" | ||
"sedlex" {>= "1.99.4"} | ||
"sedlex" {>= "2.0"} | ||
"sexplib" | ||
"tcpip" | ||
"yojson" {>= "1.2.0"} | ||
|
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,5 @@ | ||
(executables | ||
(names main openflow) | ||
(public_names frenetic frenetic.openflow) | ||
(libraries core async async_extended frenetic) | ||
(flags :standard -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 frenetic_async) | ||
(public_name frenetic.async) | ||
(wrapped true) | ||
(libraries async cohttp cohttp-async core cstruct cstruct-async | ||
frenetic.kernel frenetic.netkat mparser mparser.re str) | ||
(preprocess | ||
(pps ppx_sexp_conv)) | ||
(flags :standard -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,5 @@ | ||
(library | ||
(name frenetic) | ||
(public_name frenetic) | ||
(wrapped true) | ||
(libraries frenetic.netkat frenetic.async frenetic.kernel)) |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(library | ||
(name frenetic_kernel) | ||
(public_name frenetic.kernel) | ||
(wrapped true) | ||
(libraries core base64 cstruct ocamlgraph open tcpip yojson ipaddr sedlex | ||
sexplib str menhirLib compiler-libs.common) | ||
(preprocess | ||
(pps ppx_cstruct ppx_deriving.std ppx_jane)) | ||
) |
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
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
Oops, something went wrong.