-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_oasis
49 lines (43 loc) · 1.54 KB
/
_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
39
40
41
42
43
44
45
46
47
48
49
OASISFormat: 0.4
Name: commonjs_of_ocaml
Version: 0.1.0
Synopsis: Import and export CommonJS modules in js_of_ocaml
Description: Helper PPX and functions for ease of interfacing with other CommonJS modules when building a project through js_of_ocaml
Authors: Tony Aldridge <[email protected]>
Maintainers: Tony Aldridge <[email protected]>
Homepage: https://github.com/angrylawyer/commonjs_of_ocaml
License: MIT
Plugins: META (0.4)
OCamlVersion: >= 4.02.0
AlphaFeatures: ocamlbuild_more_args
XOCamlbuildPluginTags: package(cppo_ocamlbuild)
FilesAB: lib/ppx/META.ab
PreInstallCommand: $ocamlfind install commonjs_ppx lib/ppx/META
PreUninstallCommand: $ocamlfind remove commonjs_ppx
Executable commonjs_ppx
Path: lib/ppx
BuildDepends: compiler-libs.common
BuildTools: ocamlbuild
MainIs: ppx.ml
CompiledObject: best
Library commonjs
Path: lib
Modules: CommonJS
BuildDepends: js_of_ocaml (>= 2.7), js_of_ocaml.ppx
BuildTools: ocamlbuild
CompiledObject: best
Test test_commonjs
Command: ocamlbuild -use-ocamlfind \
-I lib \
-package js_of_ocaml,js_of_ocaml.ppx \
-cflags '-ppx $commonjs_ppx' \
test/ocaml_required.byte \
&& js_of_ocaml _build/test/ocaml_required.byte \
&& mv _build/test/ocaml_required.js test \
&& cd test \
&& npm test
TestTools: commonjs_ppx
SourceRepository master
Type: git
Location: https://github.com/angrylawyer/commonjs_of_ocaml.git
Browser: https://github.com/angrylawyer/commonjs_of_ocaml