forked from matijapretnar/eff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_oasis
35 lines (33 loc) · 1 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
OASISFormat: 0.4
Name: eff
Version: 5.0
Synopsis: A functional language with effect handlers
Authors: Andrej Bauer and Matija Pretnar
License: BSD-3-clause
Homepage: http://www.eff-lang.org/
Plugins: DevFiles (0.4)
XDevFilesMakefileNoTargets: test
AlphaFeatures: ocamlbuild_more_args
OCamlVersion: >= 4.02
XOCamlbuildPluginTags:
package(js_of_ocaml.ocamlbuild)
PostConfCommand:
hash rlwrap >/dev/null 2>&1 || \
hash ledit >/dev/null 2>&1 || \
echo "No line-editing wrapper found"
PreBuildCommand:
echo "let effdir = \"$datarootdir/$pkg_name\"" >> src/local.ml
PostBuildCommand:
if [ -f "eff.native" ]; then
ln -fs "eff.native" "eff"
else
ln -fs "eff.byte" "eff"
fi
PostCleanCommand:
rm -f eff src/local.ml tests/*.out tests/*/*.out
Executable eff
Path: src
BuildTools: ocamlbuild,menhir
MainIs: main/eff.ml
DataFiles: ../pervasives.eff, ../src/backends/multicore/multicorePervasives.eff
CompiledObject: best