Skip to content

Commit

Permalink
Always generate the manifest
Browse files Browse the repository at this point in the history
This fixes an annoying issue where the `sail -version` output does not get correctly generated unless you manually delete `manifest.ml`. If you do not then Dune will see that `manifest.ml` already exists and assume it is up-to-date, which isn't the case if you've switch branch or commit since it was last generated.

This does mean that `sail_manifest` is always run, but it seems to be very fast so I don't think it's an issue.
  • Loading branch information
Timmmm committed Jan 7, 2025
1 parent c2fe0d4 commit 47dccfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(rule
(target manifest.ml)
(mode fallback)
(deps (universe))
(action
(with-outputs-to
%{target}
Expand Down

0 comments on commit 47dccfa

Please sign in to comment.