summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShon Feder <aBathologist@gmail.com>2017-01-16 20:11:28 -0500
committerShon Feder <aBathologist@gmail.com>2017-01-16 22:25:22 -0500
commit60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c (patch)
treed192da4e2a5047181bf8b86df0988de95ad88b78
parentcc015b17c4c312d2ed5e29c3b431bfe69e1a4fe0 (diff)
downloadvyconf-60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c.tar.gz
vyconf-60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c.zip
Add project .ocamlinit with package dependencies
-rw-r--r--.ocamlinit30
1 files changed, 30 insertions, 0 deletions
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";;