-
Notifications
You must be signed in to change notification settings - Fork 21
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 #42 from avsm/to-dune
Port to dune, opam 2.0
- Loading branch information
Showing
22 changed files
with
95 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
*.swp | ||
_build/ | ||
*.docdir | ||
*.native | ||
*.byte | ||
*~ | ||
#* | ||
*# | ||
|
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# xenstore - implementation of the XenStore protocol in OCaml | ||
|
||
This repo contains: | ||
1. a xenstore client library, a merge of the Mirage and XCP ones | ||
2. a xenstore server library | ||
3. a xenstore server instance which runs under Unix with libxc | ||
4. a xenstore server instance which runs on mirage. | ||
|
||
The client and the server libraries have sets of unit-tests. |
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 xenstore_client) | ||
(public_name xenstore.client) | ||
(wrapped false) | ||
(libraries lwt xenstore) | ||
(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,6 @@ | ||
(library | ||
(name xenstore_unix) | ||
(public_name xenstore.unix) | ||
(wrapped false) | ||
(libraries unix threads xenstore) | ||
(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,8 @@ | ||
(library | ||
(name xenstore) | ||
(public_name xenstore) | ||
(wrapped false) | ||
(libraries cstruct) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(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,11 @@ | ||
(executables | ||
(names xs_test) | ||
(libraries lwt lwt.unix xenstore oUnit) | ||
(flags :standard -safe-string)) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< xs_test.exe)) | ||
(action | ||
(run %{<}))) |
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
(lang dune 1.0) | ||
(name xenstore) |
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 xenstore_server) | ||
(public_name xenstore.server) | ||
(libraries lwt xenstore) | ||
(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
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,11 @@ | ||
(executables | ||
(names server_test) | ||
(libraries lwt lwt.unix xenstore xenstore.server oUnit) | ||
(flags :standard -safe-string)) | ||
|
||
(alias | ||
(name runtest) | ||
(deps | ||
(:< server_test.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
opam-version: "1.2" | ||
maintainer: "dave@recoil.org" | ||
authors: [ | ||
opam-version: "2.0" | ||
maintainer: "dave@recoil.org" | ||
authors: [ | ||
"Vincent Hanquez" | ||
"Thomas Gazagnaire" | ||
"Dave Scott" | ||
"Anil Madhavapeddy" | ||
"Vincent Bernardoff" | ||
] | ||
homepage: "https://github.com/mirage/ocaml-xenstore" | ||
bug-reports: "https://github.com/mirage/ocaml-xenstore/issues" | ||
dev-repo: "https://github.com/mirage/ocaml-xenstore.git" | ||
doc: "https://mirage.github.io/ocaml-xenstore" | ||
|
||
build: [ | ||
["jbuilder" "subst" "-p" name "--name" name] {pinned} | ||
["jbuilder" "build" "-p" name "-j" jobs] | ||
] | ||
|
||
build-test: ["jbuilder" "runtest" "-p" name] | ||
|
||
homepage: "https://github.com/mirage/ocaml-xenstore" | ||
doc: "https://mirage.github.io/ocaml-xenstore/" | ||
bug-reports: "https://github.com/mirage/ocaml-xenstore/issues" | ||
depends: [ | ||
"jbuilder" {build & >="1.0+beta9"} | ||
"ocaml" {>= "4.04.0"} | ||
"dune" {build & >= "1.0"} | ||
"cstruct" {>= "3.2.0"} | ||
"ppx_cstruct" {>= "3.2.0"} | ||
"ppx_tools" {build} | ||
"lwt" | ||
"ounit" {test} | ||
"ounit" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
available: [ ocaml-version >= "4.04.0" ] | ||
dev-repo: "git+https://github.com/mirage/ocaml-xenstore.git" | ||
synopsis: "Xenstore protocol in pure OCaml" | ||
description: """ | ||
This repo contains: | ||
1. a xenstore client library, a merge of the Mirage and XCP ones | ||
2. a xenstore server library | ||
3. a xenstore server instance which runs under Unix with libxc | ||
4. a xenstore server instance which runs on mirage. | ||
|
||
The client and the server libraries have sets of unit-tests. | ||
""" |