Skip to content

Commit

Permalink
promote executable and copy dist folder with dune
Browse files Browse the repository at this point in the history
  • Loading branch information
stilscher committed Jan 30, 2024
1 parent 69a962d commit 43d5ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
(target dist)
(deps src/App.bc.js goblint-http-server/goblint_http.exe node_modules webpack.config.js)
(action
(run npx webpack build)))
(progn
(run npx webpack build)
(system "mkdir -p ../../../gobview/_dist && cp -f ./dist/* ../../../gobview/_dist/"))))

(rule
(targets node_modules)
Expand Down
1 change: 1 addition & 0 deletions goblint-http-server/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(executable
(name goblint_http)
(public_name goblint-http)
(promote (until-clean) (into ../..))
(libraries
batteries.unthreaded
cohttp
Expand Down

0 comments on commit 43d5ad3

Please sign in to comment.