Skip to content

Commit

Permalink
Merge pull request #43 from rgrinberg/ezjsonm
Browse files Browse the repository at this point in the history
Attempt at getting rid of json parsing in favour of jsonm
  • Loading branch information
samoht committed Jan 29, 2014
2 parents 93cf49e + 8a718ab commit 8aad293
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 490 deletions.
2 changes: 1 addition & 1 deletion .travis-ci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OPAM_DEPENDS="re ulex uri xmlm dyntype ounit omd"
OPAM_DEPENDS="re ulex uri xmlm ezjsonm dyntype ounit omd"

case "$OCAML_VERSION,$OPAM_VERSION" in
3.12.1,1.0.0) ppa=avsm/ocaml312+opam10 ;;
Expand Down
6 changes: 3 additions & 3 deletions META.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ description = "Caml on the Web"
archive(byte) = "cow.cma"
archive(native) = "cow.cmxa"
exists_if = "cow.cma"
requires = "dyntype dyntype.syntax re re.str ulex uri xmlm omd"
requires = "dyntype dyntype.syntax ezjsonm re re.str ulex uri xmlm omd"
package "syntax" (
description = "Syntax extension for COW"
requires = "camlp4 str dyntype.syntax xmlm"
archive(syntax, preprocessor) = "xmlm.cma str.cma pa_cow.cma"
requires = "camlp4 str dyntype.syntax xmlm ezjsonm"
archive(syntax, preprocessor) = "xmlm.cma str.cma pa_cow.cma ezjsonm.cma"
archive(syntax, toploop) = "pa_cow.cma"
exists_if = "pa_cow.cma"
)
2 changes: 1 addition & 1 deletion _vars
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ NAME=cow
VERSION=0.9.1
LIB=cow
SYNTAX="pa_cow"
DEPS="dyntype.syntax dyntype re ulex uri xmlm omd"
DEPS="dyntype.syntax dyntype re ulex uri xmlm omd ezjsonm"
1 change: 1 addition & 0 deletions cmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ configure() {
# specially needed for syntax TODO merge with _vars
${OCAMLFIND} query -r -predicates byte -format '-I %d %A' str >> _config/syntax.deps
${OCAMLFIND} query -r -predicates byte -format '-I %d %A' xmlm >> _config/syntax.deps
${OCAMLFIND} query -r -predicates byte -format '-I %d %A' ezjsonm >> _config/syntax.deps
# _config/syntax has flags to build p4 extensions in syntax/
${OCAMLFIND} query -r -predicates syntax,preprocessor -format '-I %d' camlp4.quotations.o camlp4.lib camlp4.extend > _config/syntax.build
${OCAMLFIND} query -r -predicates syntax,preprocessor -format '-I %d' camlp4.quotations.r camlp4.lib camlp4.extend ${SYNTAX_DEPS} > _config/syntax.build.r
Expand Down
Loading

0 comments on commit 8aad293

Please sign in to comment.