ocaml-core / base / compare /

#!/usr/bin/env bash
set -e -u -o pipefail

source ../../

cat >$HERE/_oasis <<EOF
OASISFormat:  0.3
OCamlVersion: >= 3.12
Name:         comparelib
Version:      $core_version
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.3), DevFiles (0.3), META (0.3)
XStdFilesREADME: false
XStdFilesAUTHORS: false
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,
                      type_conv (>= 3.0.5)
  CompiledObject:     byte
  XMETAType:          syntax
  XMETARequires:      camlp4,type_conv,comparelib
  XMETADescription:   Syntax extension for "with compare"

make_tags $HERE/_tags <<EOF
<syntax/>: syntax_camlp4o

make_myocamlbuild_default "$HERE/"

mkdir -p $HERE/lib
echo >$HERE/lib/

cd $HERE
oasis setup
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
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.