summaryrefslogtreecommitdiff
path: root/.ocamlinit
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2017-01-17 13:12:56 +0700
committerGitHub <noreply@github.com>2017-01-17 13:12:56 +0700
commit87fcecca68ad0c8b838d6ba47b87a34d8874d23b (patch)
treed192da4e2a5047181bf8b86df0988de95ad88b78 /.ocamlinit
parent89e2f647c8a69105cba18f6eef333bc395812e10 (diff)
parent60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c (diff)
downloadvyconf-87fcecca68ad0c8b838d6ba47b87a34d8874d23b.tar.gz
vyconf-87fcecca68ad0c8b838d6ba47b87a34d8874d23b.zip
Merge pull request #6 from aBathologist/add_a_readymade_utop_environment
Add a readymade utop environment
Diffstat (limited to '.ocamlinit')
-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";;