-
Notifications
You must be signed in to change notification settings - Fork 1
/
_oasis
45 lines (38 loc) · 1.18 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
OASISFormat: 0.4
Name: oc-react-playground
Version: 0.0.1
Synopsis: jr react playground
Authors: Roma Sokolov
License: MIT
Plugins: DevFiles (0.2)
BuildTools: ocamlbuild
OCamlVersion: >= 4.02
PreInstallCommand: $ocamlfind install ppx_react_opts src/syntax/META
PreUninstallCommand: $ocamlfind remove ppx_react_opts
Executable ppx_react_opts
Path: src/syntax
BuildDepends: compiler-libs.common
MainIs: ppx_react_opts.ml
CompiledObject: byte
Executable ppx_react_generate_tags
Path: src/syntax
Install: false
BuildDepends: compiler-libs.common
MainIs: ppx_react_generate_tags.ml
CompiledObject: byte
Executable example
Path: src
MainIs: core.ml
Install: false
CompiledObject: byte
BuildTools: ocamlbuild
BuildDepends: js_of_ocaml
ByteOpt+: -g
ByteOpt+: -ppx src/syntax/ppx_react_opts.byte -ppx src/syntax/ppx_react_generate_tags.byte
PostBuildCommand:
js_of_ocaml --pretty --noinline --sourcemap core.byte -o core.js
mv core.js resources/js/core.js
mv core.map resources/js/core.map
rm -f core.byte
PostCleanCommand:
rm -f resources/js/core.js