Browse Source

First oasis setup

 - Create _oasis file
 - Compilation works
 - Remove makefile used before
 - TODO integrate atdgen
Leo 10 years ago
parent
commit
c9fc03f28f
2 changed files with 14 additions and 9 deletions
  1. 14 0
      _oasis
  2. 0 9
      src/Makefile

+ 14 - 0
_oasis

@@ -0,0 +1,14 @@
+OASISFormat: 0.4
+Name:        OcLaunch
+Version:     0.1
+Synopsis:    Launch commands automatically
+Authors:     Clément Joly
+License:     CeCILL
+BuildTools: ocamlbuild, camlp4o
+Plugins: META (0.4), DevFiles (0.4)
+
+Executable oclaunch
+  Path:       src
+  BuildTools: ocamlbuild
+  MainIs:     oclaunch.ml
+  BuildDepends: core, yojson, atdgen, threads, core_extended

+ 0 - 9
src/Makefile

@@ -1,9 +0,0 @@
-all: atdgen-rc code
-
-atdgen-rc:
-	atdgen -t settings.atd # Types
-	atdgen -v settings.atd # Validator
-	atdgen -j -j-defaults -j-strict-fields settings.atd # Useful function
-
-code:
-	corebuild -pkg yojson,atdgen,core_extended oclaunch.byte