File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : build install uninstall clean test
2
2
3
3
build :
4
- dune build @install @js_search
5
- cp _build/default/src/js_search/search.bc.js ext/js/search.js
6
- cp _build/default/src/opam2web.exe opam2web
4
+ dune build
7
5
8
6
install :
9
7
dune install
@@ -24,13 +22,13 @@ test-prepare:
24
22
25
23
test : build test-prepare
26
24
cd www && \
27
- ../src/_build/ opam2web.native --content content path:. && \
25
+ dune exec -- opam2web --content content path:. && \
28
26
cp -r -L ../ext . && \
29
27
xdg-open index.html
30
28
31
29
fulltest : build test-prepare
32
30
cd www && \
33
- git clone git@ github.com: ocaml/opam-repository -b master && \
34
- ../src/_build/ opam2web.native --content content path:opam-repository && \
31
+ git clone git:// github.com/ ocaml/opam-repository -b master && \
32
+ dune exec -- opam2web --content content path:opam-repository && \
35
33
cp -r -L ../ext . && \
36
34
xdg-open index.html
You can’t perform that action at this time.
0 commit comments