1. camlspotter
  2. treeprint

Commits

camlspotter  committed 6081b49 Merge

merge

  • Participants
  • Parent commits cc66088, 9a7ad92
  • Branches default

Comments (0)

Files changed (11)

File AUTHORS.txt

File contents unchanged.

File INSTALL.txt

View file
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 2d7a3570eddfbc74728867d34f6c31d7) *)
+(* DO NOT EDIT (digest: 5eefc92ecb40ca516ef23a0498cfce62) *)
 This is the INSTALL file for the treeprint distribution.
 
 This package uses OASIS to generate its build system. See section OASIS for
 In order to compile this package, you will need:
 * ocaml
 * findlib
-* spotlib
-* omake
 
 Installing
 ==========

File OMyMakefile

View file
 try
   PREFIX=$(getenv PREFIX)
 default
-  try
-    PREFIX=$(getenv prefix)
-  default
-    eprintln(Specify PREFIX or prefix environment variable.)
-    exit 1 
+  eprintln(Specify PREFIX or prefix environment variable.)
+  exit 1 
 
 # OCaml 
 # ========================================================================

File _oasis

View file
 OASISFormat: 0.2
 Name:        treeprint
-Version:     1.0.0
+Version:     1.0.1
 Synopsis:    Small tree structure printer with operator associations and precedences.
 Authors:     Jun FURUSE
 License:     LGPL-2.0 with OCaml linking exception
 Plugins:      StdFiles (0.2)
 BuildType:    Custom (0.2)
 InstallType:    Custom (0.2)
-XCustomBuild: yes no | omake --install; omake
-XCustomInstall: omake install
-XCustomUninstall: omake uninstall
+XCustomBuild: yes no | omake --install; PREFIX=$prefix omake
+XCustomInstall: PREFIX=$prefix omake install
+XCustomUninstall: PREFIX=$prefix omake uninstall
 BuildTools: omake
-BuildDepends:  spotlib
-
-Library treeprint
-  Path:          lib
-  FindlibName:   treeprint

File lib/META

File contents unchanged.

File opam/template/descr

View file
+Small tree structure printer with operator associations and precedences.
+Treeprint is a small printer combinator library for ASTs with infix,
+prefix and postfix operators with associativity and precedence. 
+It provides abstract printing with minimum parentheses insertion.

File opam/template/opam

View file
+depends: [ "ocamlfind" "spotlib" {>="2.0.0"} "omake"]
+ocaml-version: [>= "4.00.0"]

File opam/treeprint.1.0.1/descr

File contents unchanged.

File opam/treeprint.1.0.1/opam

View file
   ["ocaml" "setup.ml" "-install"]
 ]
 remove: [
-  ["ocamlfind" "remove" "treeprint"]
+  ["omake" "unintall"]
 ]
 depends: [ "ocamlfind" "spotlib" {>="2.0.0"} "omake"]
 ocaml-version: [>= "4.00.0"]

File opam/treeprint.1.0.1/url

View file
-archive: "https://bitbucket.org/camlspotter/treeprint/get/1.0.1.tar.gz"
-checksum: "493669183acb0437d3508340b1781ebb"
+archive: https://bitbucket.org/camlspotter/ocaml-indent/get/1.0.1.tar.gz

File setup.ml

View file
 (* setup.ml generated for the first time by OASIS v0.3.0 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 65f08f1aba3243faa2d9e25f8aa3c77e) *)
+(* DO NOT EDIT (digest: e74b4ea4765cad1e5888c78b2ddb987c) *)
 (*
    Regenerated by OASIS v0.3.0
    Visit http://oasis.forge.ocamlcore.org for more information and
             CustomPlugin.cmd_main =
               [
                  (OASISExpr.EBool true,
-                   ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
+                   ("yes",
+                     [
+                        "no";
+                        "|";
+                        "omake";
+                        "--install;";
+                        "PREFIX=$prefix";
+                        "omake"
+                     ]))
               ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [(OASISExpr.EBool true, ("omake", ["install"]))];
+              [
+                 (OASISExpr.EBool true,
+                   ("PREFIX=$prefix", ["omake"; "install"]))
+              ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
        CustomPlugin.main
          {
             CustomPlugin.cmd_main =
-              [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+              [
+                 (OASISExpr.EBool true,
+                   ("PREFIX=$prefix", ["omake"; "uninstall"]))
+              ];
             cmd_clean = [(OASISExpr.EBool true, None)];
             cmd_distclean = [(OASISExpr.EBool true, None)];
             };
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
+                      ("yes",
+                        [
+                           "no";
+                           "|";
+                           "omake";
+                           "--install;";
+                           "PREFIX=$prefix";
+                           "omake"
+                        ]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["install"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "install"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.clean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
                CustomPlugin.cmd_main =
                  [
                     (OASISExpr.EBool true,
-                      ("yes", ["no"; "|"; "omake"; "--install;"; "omake"]))
+                      ("yes",
+                        [
+                           "no";
+                           "|";
+                           "omake";
+                           "--install;";
+                           "PREFIX=$prefix";
+                           "omake"
+                        ]))
                  ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["install"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "install"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                };
           CustomPlugin.distclean
             {
                CustomPlugin.cmd_main =
-                 [(OASISExpr.EBool true, ("omake", ["uninstall"]))];
+                 [
+                    (OASISExpr.EBool true,
+                      ("PREFIX=$prefix", ["omake"; "uninstall"]))
+                 ];
                cmd_clean = [(OASISExpr.EBool true, None)];
                cmd_distclean = [(OASISExpr.EBool true, None)];
                }
           ocaml_version = None;
           findlib_version = None;
           name = "treeprint";
-          version = "1.0.0";
+          version = "1.0.1";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
                post_command = [(OASISExpr.EBool true, None)];
                };
           files_ab = [];
-          sections =
-            [
-               Library
-                 ({
-                     cs_name = "treeprint";
-                     cs_data = PropList.Data.create ();
-                     cs_plugin_data = [];
-                     },
-                   {
-                      bs_build = [(OASISExpr.EBool true, true)];
-                      bs_install = [(OASISExpr.EBool true, true)];
-                      bs_path = "lib";
-                      bs_compiled_object = Best;
-                      bs_build_depends = [FindlibPackage ("spotlib", None)];
-                      bs_build_tools = [ExternalTool "omake"];
-                      bs_c_sources = [];
-                      bs_data_files = [];
-                      bs_ccopt = [(OASISExpr.EBool true, [])];
-                      bs_cclib = [(OASISExpr.EBool true, [])];
-                      bs_dlllib = [(OASISExpr.EBool true, [])];
-                      bs_dllpath = [(OASISExpr.EBool true, [])];
-                      bs_byteopt = [(OASISExpr.EBool true, [])];
-                      bs_nativeopt = [(OASISExpr.EBool true, [])];
-                      },
-                   {
-                      lib_modules = [];
-                      lib_pack = false;
-                      lib_internal_modules = [];
-                      lib_findlib_parent = None;
-                      lib_findlib_name = Some "treeprint";
-                      lib_findlib_containers = [];
-                      })
-            ];
+          sections = [];
           plugins = [(`Extra, "StdFiles", Some "0.2")];
           schema_data = PropList.Data.create ();
           plugin_data = [];
           };
      oasis_fn = Some "_oasis";
      oasis_version = "0.3.0";
-     oasis_digest = Some "\175\nq\011p!2jv\r\165p\232\222\236\189";
+     oasis_digest = Some "U\001\183ot\144\220\204F\168\2250\139\254\211\187";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false;
 
 let setup () = BaseSetup.setup setup_t;;
 
-# 5568 "setup.ml"
+# 5578 "setup.ml"
 (* OASIS_STOP *)
 let () = setup ();;