Skip to content

Commit

Permalink
OASIS up the library
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Feb 25, 2012
1 parent ab62a36 commit a4de7f4
Show file tree
Hide file tree
Showing 8 changed files with 5,871 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.swp
_build/
setup.data
setup.log
setup.bin
*.docdir
*.native
*.byte
39 changes: 39 additions & 0 deletions _oasis
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
OASISFormat: 0.2
Name: xenstore
Version: 0.9-dev
Synopsis: Xenstore protocol library
Authors: Citrix Systems R&D, Anil Madhavapeddy
License: LGPL-2.0 with OCaml linking exception
Plugins: META (0.2)
BuildTools: ocamlbuild

Library xenstore
Path: lib
Findlibname: xenstore
Modules: Xs_client
BuildDepends: lwt.unix, bitstring, bitstring.syntax

Document xenstore
Title: Xenstore docs
Type: ocamlbuild (0.2)
BuildTools+: ocamldoc
XOCamlbuildPath: lib
XOCamlbuildLibraries: xenstore

Executable xs_test
Path: lib_test
MainIs: xs_test.ml
Build$: flag(tests)
Custom: true
CompiledObject: best
Install: false
BuildDepends: lwt, lwt.unix, bitstring, xenstore, oUnit

Flag tests
Description: Build and run tests
Default: true

Test xs_test
Run$: flag(tests)
Command: $xs_test
WorkingDirectory: lib_test
27 changes: 27 additions & 0 deletions _tags
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# OASIS_START
# DO NOT EDIT (digest: 51e992d2188639afad7108bd680a7363)
# Library xenstore
"lib": include
<lib/*.ml{,i}>: pkg_lwt.unix
<lib/*.ml{,i}>: pkg_bitstring.syntax
<lib/*.ml{,i}>: pkg_bitstring
# Executable xs_test
<lib_test/xs_test.{native,byte}>: use_xenstore
<lib_test/xs_test.{native,byte}>: pkg_oUnit
<lib_test/xs_test.{native,byte}>: pkg_lwt.unix
<lib_test/xs_test.{native,byte}>: pkg_lwt
<lib_test/xs_test.{native,byte}>: pkg_bitstring.syntax
<lib_test/xs_test.{native,byte}>: pkg_bitstring
<lib_test/*.ml{,i}>: use_xenstore
<lib_test/*.ml{,i}>: pkg_oUnit
<lib_test/*.ml{,i}>: pkg_lwt.unix
<lib_test/*.ml{,i}>: pkg_lwt
<lib_test/*.ml{,i}>: pkg_bitstring.syntax
<lib_test/*.ml{,i}>: pkg_bitstring
<lib_test/xs_test.{native,byte}>: custom
# OASIS_STOP
true: annot
<lib/*>: syntax_camlp4o
<lib/*>: pkg_lwt.syntax
<lib_test/*>: syntax_camlp4o
<lib_test/*>: pkg_lwt.syntax
10 changes: 10 additions & 0 deletions lib/META
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# OASIS_START
# DO NOT EDIT (digest: 2dd70862159335798c8a7d1a7dab4375)
version = "0.9-dev"
description = "Xenstore protocol library"
requires = "lwt.unix bitstring bitstring.syntax"
archive(byte) = "xenstore.cma"
archive(native) = "xenstore.cmxa"
exists_if = "xenstore.cma"
# OASIS_STOP

4 changes: 4 additions & 0 deletions lib/xenstore.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 676e71a6ae4b4785dd6efe6be60adb1a)
Xs_client
# OASIS_STOP
4 changes: 4 additions & 0 deletions lib/xenstore.odocl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 676e71a6ae4b4785dd6efe6be60adb1a)
Xs_client
# OASIS_STOP
Loading

0 comments on commit a4de7f4

Please sign in to comment.