aboutsummaryrefslogtreecommitdiff
path: root/dune
diff options
context:
space:
mode:
authorThéo Zimmermann2018-09-05 13:04:00 +0200
committerThéo Zimmermann2018-09-05 13:04:00 +0200
commit579f30a53809f9cf73aa3d7c69960b50fc51c7fc (patch)
treeda69bfd576092da56f66c04ae800db5ae0042c33 /dune
parentdc78205a55fe1825c8744d3acb7bb43e08d39c4e (diff)
parent920723ab4c1707c0a98c978cdd7742d47e58582f (diff)
Merge PR #6857: [build] Preliminary support for building with `dune`.
Diffstat (limited to 'dune')
-rw-r--r--dune15
1 files changed, 15 insertions, 0 deletions
diff --git a/dune b/dune
new file mode 100644
index 0000000000..2a77d62a16
--- /dev/null
+++ b/dune
@@ -0,0 +1,15 @@
+(rule
+ (targets .vfiles.d)
+ (deps
+ (source_tree theories)
+ (source_tree plugins))
+ (action (with-stdout-to .vfiles.d (system "%{bin:coqdep} -dyndep opt -noglob -boot `find theories plugins -type f -name *.v`"))))
+
+(alias
+ (name vodeps)
+ (deps tools/coq_dune.exe .vfiles.d))
+ ; (action (run coq_dune .vfiles.d))))
+
+; Add custom flags here. Default developer profile is `dev`
+(env
+ (dev (flags :standard -rectypes -w -9-27-50)))