diff options
| author | Théo Zimmermann | 2019-03-13 10:38:03 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2019-03-13 10:38:03 +0100 |
| commit | 915192abdf1bdb3129fd28f05cee6340d5a8c464 (patch) | |
| tree | b526c4305b1ec13f8e69075a5ae46ba0293b2596 /dev/shim | |
| parent | e341c36cdc2aa2220152b2a3745bf3255316cdf3 (diff) | |
| parent | 430851db6db8ba30280f024ccbca5f6124287ab7 (diff) | |
Merge PR #9748: [dune] Add shim for coqtop.byte
Reviewed-by: Zimmi48
Reviewed-by: gares
Diffstat (limited to 'dev/shim')
| -rw-r--r-- | dev/shim/dune | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/shim/dune b/dev/shim/dune index 85a0d205da..39b4ef492c 100644 --- a/dev/shim/dune +++ b/dev/shim/dune @@ -11,6 +11,19 @@ (run chmod +x %{targets}))))) (rule + (targets coqbyte-prelude) + (deps + %{bin:coqtop.byte} + %{lib:coq.kernel:../../stublibs/dllbyterun_stubs.so} + %{project_root}/theories/Init/Prelude.vo) + (action + (with-outputs-to %{targets} + (progn + (echo "#!/usr/bin/env bash\n") + (bash "echo \"$(pwd)/%{bin:coqtop.byte} -coqlib $(pwd)/%{project_root}\" \"$@\"") + (run chmod +x %{targets}))))) + +(rule (targets coqide-prelude) (deps %{bin:coqqueryworker.opt} |
