Source

sulu-ocaml-core / base / bin_prot / oasis.sh

Diff from to

File base/bin_prot/oasis.sh

 
 cat >$HERE/_oasis <<EOF
 #AUTOGENERATED FILE; EDIT oasis.sh INSTEAD
-OASISFormat:  0.2
+OASISFormat:  0.3
 OCamlVersion: >= 3.12
 Name:         bin_prot
-Version:      2.0.9
-Synopsis:     Binary protocol generator
+Version:      $core_version
+Synopsis:     binary protocol generator
 Authors:      Markus Mottl,
               Jane Street Holding LLC
 Copyrights:   (C) 2008-2011 Jane Street Holding LLC
 License:      LGPL-2.1 with OCaml linking exception
 LicenseFile:  LICENSE
-Plugins:      StdFiles (0.2),
-              DevFiles (0.2),
-              META (0.2)
+Plugins:      StdFiles (0.3), DevFiles (0.3), META (0.3)
 BuildTools:   ocamlbuild, camlp4o
 Description:  binary protocol generator
 XStdFilesAUTHORS: false
 
 Library bin_prot
   Path:               lib
-  #Pack:               true
+  Pack:               true
   Modules:            Binable,
                       Nat0,
                       Common,
   XMETARequires:      type_conv,bin_prot
   XMETADescription:   Syntax extension for binary protocol generator
 
-$(declare_tests_flag)
-
 Executable test_runner
   Path:               lib_test
   MainIs:             test_runner.ml
 
 Document "bin_prot"
   Title:                API reference for bin_prot
-  Type:                 ocamlbuild (0.2)
+  Type:                 ocamlbuild (0.3)
   BuildTools+:          ocamldoc
   XOCamlbuildPath:      lib
   XOCamlbuildLibraries: bin_prot
 EOF
 
 make_tags $HERE/_tags <<EOF
-# remove this part when oasis supports Pack: true
-$(tag_for_pack Bin_prot $HERE/lib/*.ml)
-
 <lib/{size,write_ml,read_ml,unsafe_read_c,type_class}.ml{i,}>: pp(cpp -undef -traditional -I.)
 <lib/{write,read}_ml.ml{,i}>:mlh
 <lib_test/*.ml{,i}>: syntax_camlp4o,pkg_type_conv.syntax
 cd $HERE
 rm -f setup.ml
 oasis setup
-enable_pack_in_setup_ml bin_prot
-
-./configure "$@"