From cc015b17c4c312d2ed5e29c3b431bfe69e1a4fe0 Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Mon, 16 Jan 2017 19:40:05 -0500 Subject: Add internal vyconf modules to _oasis config --- _oasis | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_oasis b/_oasis index 48cd8a6..cbf14bf 100644 --- a/_oasis +++ b/_oasis @@ -13,7 +13,8 @@ Plugins: META (0.4), DevFiles (0.4) Library "vyconf" Path: src - Modules: Vytree, Config_tree, Reference_tree, Curly_parser + Modules: Config_tree, Reference_tree, Curly_parser + InternalModules: Defaults, Directories, Startup, Util, Value_checker, Vylist, Vytree Library "vyconf-client" Path: src -- cgit v1.2.3 From 60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Mon, 16 Jan 2017 20:11:28 -0500 Subject: Add project .ocamlinit with package dependencies --- .ocamlinit | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .ocamlinit diff --git a/.ocamlinit b/.ocamlinit new file mode 100644 index 0000000..96a55ea --- /dev/null +++ b/.ocamlinit @@ -0,0 +1,30 @@ +(* Vyconf development utop environment + * + * NOTE: To keep this functioning as expected, we will need to register new + * package dependencies here as they are added to the project. + * + * TODO: Automate the addition of dependencies via an _oasis plugin. + *) + +let () = + try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH") + with Not_found -> () +;; + +#use "topfind";; + +#require "lwt";; +#require "lwt.unix";; +#require "lwt.ppx";; +#require "ppx_deriving.runtime";; +#require "ppx_deriving.show";; +#require "ppx_deriving_yojson";; +#require "fileutils";; +#require "pcre";; +#require "toml";; +#require "xml-light";; + +#directory "/Users/sf/Programming/VyConf/vyconf/_build";; +#cd "_build/src";; + +print_string "VyConf .ocamlinit has been successfully loaded\n";; -- cgit v1.2.3