Permalink
Browse files

initial jquery binding from dave.benjamin

git-svn-id: http://ocamljs.googlecode.com/svn/trunk@197 27578800-e353-0410-a23a-a7c9f63c6ccd
  • Loading branch information...
1 parent 7e8c2ff commit f8ab70b7c0dd0c64b7c0e793663c71adab5b61eb Jake Donham committed Jun 30, 2009
Showing with 952 additions and 0 deletions.
  1. +5 −0 src/jquery/META
  2. +30 −0 src/jquery/Makefile
  3. +463 −0 src/jquery/jQuery.ml
  4. +451 −0 src/jquery/jQuery.mli
  5. +1 −0 src/jquery/jquery.mllib
  6. +2 −0 src/jquery/jquery_init.js
View
@@ -0,0 +1,5 @@
+name="jQuery"
+version="0.1"
+description="jQuery binding"
+requires = "ocamljs"
+archive(js) = "jquery.cmjsa"
View
@@ -0,0 +1,30 @@
+-include ../../Makefile.conf
+
+FILES=\
+jquery.cmjsa \
+jQuery.mli jQuery.cmi
+
+BFILES=$(addprefix _build/,$(FILES))
+
+all: myocamlbuild.ml
+ OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
+ OCAMLPATH=`pwd`/../../stage \
+ ocamlbuild jquery.cmjsa
+
+doc:
+ OCAMLFIND_IGNORE_DUPS_IN=$(LIBDIR)/site-lib \
+ OCAMLPATH=`pwd`/../../stage \
+ ocamlbuild -no-links doc.docdir/index.html
+
+install:
+ ocamlfind install jquery META $(BFILES) jquery_init.js
+
+uninstall:
+ ocamlfind remove jquery
+
+clean:
+ ocamlbuild -clean
+ rm -f myocamlbuild.ml
+
+myocamlbuild.ml:
+ ln -s ../../tools/myocamlbuild.ml .
Oops, something went wrong.

0 comments on commit f8ab70b

Please sign in to comment.