Skip to content

Commit

Permalink
Update README, setup.ml and clean tree
Browse files Browse the repository at this point in the history
Switch from oasis setup-dev to oasis setup
  • Loading branch information
astrada committed Jan 14, 2012
1 parent 2aa76cf commit ccefbc5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 58 deletions.
18 changes: 11 additions & 7 deletions README.md
Expand Up @@ -24,7 +24,7 @@ Old versions:
* Monadic interface
* [Functional lenses](src/gapi/gapiLens.mli) to access data structures
* Service generator (experimental): a tool for generating client libraries for
APIs based on the Google API Discovery format.
APIs based on the Google API Discovery format

Building gapi-ocaml
------------------
Expand All @@ -42,8 +42,8 @@ packages for Debian](http://ocaml.debian.net/debian/ocaml-3.12.1/)):
* [ExtLib][] = 1.5.1
* [json-wheel][] = 1.0.6
* [Xmlm][] = 1.0.2
* [pa_monad][] = 6.0 Syntax extension for Monads (optional)
* [OUnit][] = 1.1.0 to build and run the tests (optional)
* [pa_monad][] = 6.0 (syntax extension for Monads, optional)
* [OUnit][] = 1.1.0 (to build and run the tests, optional)

[OCaml]: http://caml.inria.fr/ocaml/release.en.html
[Findlib]: http://projects.camlcity.org/projects/findlib.html/
Expand All @@ -60,18 +60,22 @@ packages for Debian](http://ocaml.debian.net/debian/ocaml-3.12.1/)):

This project provides 2 libraries:

* gapi: Google APIs client library
* gdata: Google Data Protocol client library
* `gapi`: Google APIs client library
* `gdata`: Google Data Protocol client library

and 1 executable:

* serviceGenerator: Tool used to generate strongly typed client libraries for
* `serviceGenerator`: Tool used to generate strongly typed client libraries for
Discovery-based services

To build and install the libraries and the executable, run
To build the libraries and the executable, run

$ ocaml setup.ml -configure
$ ocaml setup.ml -build

To install the libraries and the executable, run (as root, if your user
doesn't have enough privileges)

$ ocaml setup.ml -install

To run the tests, execute
Expand Down
9 changes: 2 additions & 7 deletions setup.ml
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.2.1~alpha1 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 59a67c93151d0df7e92a0835aab1961d) *)
(* DO NOT EDIT (digest: 834e639ae0aa629d38d980996c3593cb) *)
(*
Regenerated by OASIS v0.2.1~alpha1
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -5309,7 +5309,7 @@ let setup_t =
pre_command = [(OASISExpr.EBool true, None)];
post_command = [(OASISExpr.EBool true, None)];
};
test_working_directory = Some "src";
test_working_directory = None;
test_run = [(OASISExpr.EBool true, true)];
test_tools =
[
Expand Down Expand Up @@ -5474,10 +5474,5 @@ let setup_t =

let setup () = BaseSetup.setup setup_t;;


let dev_t = {BaseDev.oasis_cmd = "oasis"; };;

let setup () = BaseDev.update_and_run dev_t;;

(* OASIS_STOP *)
let () = setup ();;
3 changes: 0 additions & 3 deletions src/.gitignore
Expand Up @@ -4,9 +4,6 @@ _build
*.byte
*.native

gapi.mllib
gdata.mllib

gapi.docdir
check.sh

1 change: 1 addition & 0 deletions src/gapi/.gitignore
@@ -1,4 +1,5 @@
*.swp

META
*.mllib

31 changes: 0 additions & 31 deletions src/gapi/gapi.mllib

This file was deleted.

1 change: 1 addition & 0 deletions src/gdata/.gitignore
@@ -1,4 +1,5 @@
*.swp

META
*.mllib

10 changes: 0 additions & 10 deletions src/gdata/gdata.mllib

This file was deleted.

0 comments on commit ccefbc5

Please sign in to comment.