Browse Source

Merge branch 'oasis' into dev

Leo 10 years ago
parent
commit
50337290ca
3 changed files with 41 additions and 9 deletions
  1. 18 0
      .gitignore
  2. 23 0
      _oasis
  3. 0 9
      src/Makefile

+ 18 - 0
.gitignore

@@ -0,0 +1,18 @@
+oclaunch.byte
+# Atdgen
+settings_j.ml
+settings_j.mli
+settings_t.ml
+settings_t.mli
+# Oasis
+_build
+*.native
+*.byte
+*.docdir
+setup.data
+setup.log
+# Misc
+.paths
+.project
+*.vim
+.settings/

+ 23 - 0
_oasis

@@ -0,0 +1,23 @@
+OASISFormat: 0.4
+Name:        OcLaunch
+Version:     0.1
+Synopsis:    Launch commands automatically
+Authors:     Joly Clément <leowzukw@vmail.me>
+Maintainers: Joly Clément <leowzukw@vmail.me>
+License:     CeCILL
+LicenseFile: LICENSE
+Copyrights: (C) 2014 Joly Clément
+Homepage: https://gitlab.com/WzukW/oclaunch"
+BuildTools: ocamlbuild, camlp4o
+Plugins: META (0.4), DevFiles (0.4)
+Description: This program is designed to launch automatically commands when executed.
+
+PreBuildCommand: atdgen -t ./src/settings.atd
+PreBuildCommand: atdgen -j ./src/settings.atd
+PreBuildCommand: atdgen -v ./src/settings.atd
+
+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