Skip to content

Commit

Permalink
copy dist files to _dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
stilscher committed Dec 8, 2023
1 parent 61fcbbe commit ed75229
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ rule() {
eval $(opam config env)
dune build gobview &&
rm -f goblint-http &&
cp ./_build/default/gobview/goblint-http-server/goblint_http.exe goblint-http
cp ./_build/default/gobview/goblint-http-server/goblint_http.exe goblint-http &&
rm -rf gobview/_dist &&
mkdir gobview/_dist
cp ./_build/default/gobview/dist/* gobview/_dist/
# alternatives to .exe: .bc (bytecode), .bc.js (js_of_ocaml), see https://dune.readthedocs.io/en/stable/dune-files.html#executable
;; js) # https://dune.readthedocs.io/en/stable/jsoo.html
dune build $TARGET.bc.js &&
Expand Down

0 comments on commit ed75229

Please sign in to comment.