File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,11 @@ build: [
27
27
[make]
28
28
[make "install"] # into _build
29
29
[make "-C" "ocaml" "all"]
30
- ["./mk_dot_install.sh"]
31
30
["./ldconfig.sh"] # fix up .so files if ldconfig didn't do it
32
31
[make "-C" "ocaml" "test"] {with-test}
33
32
]
34
33
install: [
35
- ["opam-installer" "--prefix=%{prefix}%" "libdash. install"]
34
+ ["./libdash_install.sh"] # autotools borks if we call it install.sh, lol
36
35
[make "-C" "test" "test"] {with-test}
37
36
]
38
37
dev-repo: "git+https:///github.com/mgree/libdash"
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
- set -e
3
+ set -ex
4
4
5
5
libdash_files=$( ls _build/lib)
6
6
bindings_files=" META dash.cmxa dash.cma dash.a dash.mli dash.cmi dash.cmo dash.cmx ast.mli ast.cmi ast.cmo ast.cmx"
7
7
8
8
files=
9
9
for f in ${libdash_files}
10
10
do
11
- files=" ${files} \" _build/lib/${f} \" "
11
+ files=" ${files} _build/lib/${f} "
12
12
done
13
13
14
14
for f in ${bindings_files}
15
15
do
16
- files=" ${files} \" ocaml/${f} \" "
16
+ files=" ${files} ocaml/${f} "
17
17
done
18
18
19
- cat > libdash.install << EOF
20
- lib: [${files} ]
21
- EOF
22
-
19
+ ocamlfind install libdash -nodll $files
You can’t perform that action at this time.
0 commit comments