Anonymous avatar Anonymous committed d2c85a0

Start small, update oasis.sh and _oasis of base/compare.

Comments (0)

Files changed (6)

 glob:base/compare/INSTALL
 glob:base/compare/Makefile
 glob:base/compare/_build
-glob:base/compare/_oasis
-glob:base/compare/_tags
 glob:base/compare/configure
 glob:base/compare/lib/META
 glob:base/compare/lib/comparelib.mllib

base/compare/.hgignore.in

 setup.ml
 setup.log
 setup.data
-_oasis
 _build
 _tags
 lib/META

base/compare/_oasis

+OASISFormat:  0.2
+OCamlVersion: >= 3.12
+Name:         comparelib
+Version:      0.1.1
+Synopsis:     Syntax extension for deriving "compare" functions automatically.
+Authors:      Jane street capital
+Copyrights:   (C) 2009-2011 Jane Street Capital LLC
+License:      LGPL-2.1 with OCaml linking exception
+LicenseFile:  LICENSE
+Plugins:      StdFiles (0.2),
+              DevFiles (0.2),
+              META (0.2)
+XStdFilesREADME: false
+XStdFilesAUTHORS: false
+XStdFilesINSTALLFilename: INSTALL
+BuildTools:   ocamlbuild
+
+Library comparelib
+  Path:               lib
+  Modules:            Comparelib_dummy
+  FindlibName:        comparelib
+  XMETAType:          library
+
+Library pa_compare
+  Path:               syntax
+  Modules:            Pa_compare
+  FindlibParent:      comparelib
+  FindlibName:        syntax
+  BuildDepends:       camlp4.lib,
+                      camlp4.quotations,
+                      type-conv (>= 2.0.1)
+  CompiledObject:     byte
+  XMETAType:          syntax
+  XMETARequires:      camlp4,type-conv,comparelib
+  XMETADescription:   Syntax extension for "with compare"

base/compare/_tags

+# OASIS_START
+# DO NOT EDIT (digest: 96cc96dce24ab77231cf18bd29158505)
+# Ignore VCS directories, you can use the same kind of rule outside 
+# OASIS_START/STOP if you want to exclude directories that contains 
+# useless stuff for the build process
+<**/.svn>: -traverse
+<**/.svn>: not_hygienic
+".bzr": -traverse
+".bzr": not_hygienic
+".hg": -traverse
+".hg": not_hygienic
+".git": -traverse
+".git": not_hygienic
+"_darcs": -traverse
+"_darcs": not_hygienic
+# Library comparelib
+"lib": include
+# Library pa_compare
+"syntax": include
+<syntax/*.ml{,i}>: pkg_type-conv
+<syntax/*.ml{,i}>: pkg_camlp4.quotations
+<syntax/*.ml{,i}>: pkg_camlp4.lib
+# OASIS_STOP
+<syntax/pa_compare.ml>: syntax_camlp4o

base/compare/oasis.sh

 #!/usr/bin/env bash
 set -e -u -o pipefail
-
-source ../../build-common.sh
-
-cat >$HERE/_oasis <<EOF
-#AUTOGENERATED FILE; EDIT oasis.sh INSTEAD
-OASISFormat:  0.2
-OCamlVersion: >= 3.12
-Name:         comparelib
-Version:      0.1.1
-Synopsis:     Syntax extension for deriving "compare" functions automatically.
-Authors:      Jane street capital
-Copyrights:   (C) 2009-2011 Jane Street Capital LLC
-License:      LGPL-2.1 with OCaml linking exception
-LicenseFile:  LICENSE
-Plugins:      StdFiles (0.2),
-              DevFiles (0.2),
-              META (0.2)
-XStdFilesREADME: false
-XStdFilesAUTHORS: false
-XStdFilesINSTALLFilename: INSTALL
-BuildTools:   ocamlbuild
-
-Library comparelib
-  Path:               lib
-  Modules:            Comparelib_dummy
-  FindlibName:        comparelib
-  XMETAType:          library
-
-Library pa_compare
-  Path:               syntax
-  Modules:            Pa_compare
-  FindlibParent:      comparelib
-  FindlibName:        syntax
-  BuildDepends:       camlp4.lib,
-                      camlp4.quotations,
-                      type-conv (>= 2.0.1)
-  CompiledObject:     byte
-  XMETAType:          syntax
-  XMETARequires:      camlp4,type-conv,comparelib
-  XMETADescription:   Syntax extension for "with compare"
-EOF
-
-make_tags $HERE/_tags <<EOF
-<syntax/pa_compare.ml>: syntax_camlp4o
-EOF
-
-mkdir -p $HERE/lib
-echo >$HERE/lib/comparelib_dummy.ml
-
+. ../../build-common.sh
 cd $HERE
 oasis setup
 ./configure "$@"

base/type-conv/syntax/META

 # OASIS_START
-# DO NOT EDIT (digest: b651fcddae83a0b465ce4d37e1e3eb78)
+# DO NOT EDIT (digest: 0db3e3d863cd3be314dcea4d54ef71a5)
 version = "2.3.0"
 description = "Syntax extension for type-conv"
 requires = "camlp4"
-archive(syntax,preprocessor) = "pa_type_conv.cma"
-archive(syntax,toploop) = "pa_type_conv.cma"
+archive(syntax, preprocessor) = "pa_type_conv.cma"
+archive(syntax, toploop) = "pa_type_conv.cma"
 exists_if = "pa_type_conv.cma"
 # OASIS_STOP
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.