ocaml-core / base / async / extra / oasis.sh

Brandon Mitchell 969b207 
ysulsky a6325ca 

ysulsky d48bac2 
ysulsky a6325ca 
ysulsky d48bac2 

ysulsky a6325ca 

ysulsky d48bac2 
ysulsky a6325ca 
ysulsky d48bac2 
ysulsky a6325ca 
























ysulsky 4199860 
ysulsky d48bac2 
ysulsky a6325ca 














ysulsky d48bac2 



ysulsky a6325ca 


ysulsky d48bac2 
ysulsky db6e5bc 
ysulsky a6325ca 
ysulsky d48bac2 

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

source ../../../build-common.sh

function list_mods {
    find "$HERE/lib" -name "*.ml" -print | mod_names
}

MODULES=$(list_mods | sort -u | my_join)

cat >$HERE/_oasis <<EOF
#AUTOGENERATED FILE; EDIT oasis.sh INSTEAD

OASISFormat:  0.2
OCamlVersion: >= 3.12
Name:         async
Version:      107.01
Synopsis:     Jane Street Capital's asynchronous execution library (extra)
Authors:      Jane street capital
Copyrights:   (C) 2008-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)
BuildTools:   ocamlbuild
Description:  Jane Street Capital's asynchronous execution library
FindlibVersion: >= 1.2.7
XStdFilesAUTHORS: false
XStdFilesINSTALLFilename: INSTALL
XStdFilesREADME: false


Library async_extra
  Path:               lib
  FindlibName:        async_extra
  #Pack:               true
  Modules:            ${MODULES}
  BuildDepends:       sexplib.syntax,
                      sexplib,
                      fieldslib.syntax,
                      fieldslib,
                      bin_prot,
                      bin_prot.syntax,
                      pa_ounit,
                      pa_pipebang,
                      core,
                      async_core,
                      async_scheduler,
                      threads

EOF

make_tags "$HERE/_tags" <<EOF
# remove this part when oasis supports Pack: true
$(tag_for_pack Async_extra $HERE/lib/*.ml)

<lib/*.ml{,i}>: syntax_camlp4o
EOF

cd $HERE
rm -f setup.ml
oasis setup
enable_pack_in_setup_ml async_extra

./configure "$@"
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.