forked from fxfactorial/ocaml-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_oasis
38 lines (32 loc) · 963 Bytes
/
_oasis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
OASISFormat: 0.4
Name: nodejs
Version: 0.0.1
Synopsis: OCaml bindings for nodejs
Authors: Edgar Aroutiounian <[email protected]>
Maintainers: Edgar Aroutiounian <[email protected]>
Homepage: https://github.com/fxfactorial/ocaml-nodejs
License: BSD-3-clause
Plugins: META (0.4), DevFiles (0.4)
BuildTools: ocamlbuild
Description:
These are OCaml bindings to Nodejs
Get all the power of the Nodejs ecosystem with the type safety of OCaml
# Build the test program for node
PostBuildCommand:js_of_ocaml server.byte
# Clean up our mess
PostCleanCommand:rm -f server.js
Library nodejs
Path: src
Modules: Nodejs
CompiledObject: byte
BuildDepends: js_of_ocaml, js_of_ocaml.ppx
Executable run_tests
Install:false
Path:tests
MainIs:server.ml
BuildDepends: js_of_ocaml, js_of_ocaml.ppx, nodejs
CompiledObject:byte
BuildTools:ocamlbuild
Test t
Command:$run_tests
TestTools:run_tests