Skip to content

Commit

Permalink
Fix unavailable expunge on Windows (#447)
Browse files Browse the repository at this point in the history
Fix unavailable expunge on Windows

Without this commit, get:

```
File "src/top/dune", line 33, characters 0-131:
33 | (rule
34 |  (targets utop-expunged.bc)
35 |  (action
36 |   (run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
37 |     %{read-lines:modules.txt})))
Error: File unavailable:
Z:/source/dkml/build/pkg/bump/.ci/o/PR/lib/ocaml/expunge
```

Co-authored-by: Etienne Millon <[email protected]>
  • Loading branch information
jonahbeckford and emillon authored Jul 7, 2023
1 parent 8da7072 commit f8affb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.13.1 (Pending)
----------------

* Fix unavailable expunge on Windows (#447, @jonahbeckford)

2.13.0 (2023-07-03)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/top/dune
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
(rule
(targets utop-expunged.bc)
(action
(run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
(run %{ocaml_where}/expunge%{ext_exe} %{dep:utop.bc} %{targets}
%{read-lines:modules.txt})))

(install
Expand Down

0 comments on commit f8affb8

Please sign in to comment.