File: dune

package info (click to toggle)
coq-simple-io 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: ml: 273; makefile: 66
file content (41 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(alias
 (name runtest)
 (deps (alias_rec all)))

(rule
 (deps (package coq-simple-io))
 (action (with-stdout-to HelloWorld.out
  (run %{bin:coqc} -I ../plugin -Q ../src SimpleIO %{dep:HelloWorld.v}))))

(rule (alias runtest)
 (action (diff HelloWorld.expected HelloWorld.out)))

(rule
 (deps (package coq-simple-io))
 (action (with-stdout-to TestOcamlbuild.out
  (run %{bin:coqc} -I ../plugin -Q ../src SimpleIO %{dep:TestOcamlbuild.v}))))

(rule (alias runtest)
 (action (diff TestOcamlbuild.expected TestOcamlbuild.out)))

(rule
 (deps (package coq-simple-io))
 (action (with-stdout-to RunIO.out
  (run %{bin:coqc} -I ../plugin -Q ../src SimpleIO %{dep:RunIO.v}))))

(rule (alias runtest)
 (action (diff RunIO.expected RunIO.out)))

(rule
 (deps (package coq-simple-io))
 (action (with-stdout-to TestInt63.out
  (run %{bin:coqc} -I ../plugin -Q ../src SimpleIO %{dep:TestInt63.v}))))

(rule (alias runtest)
 (action (diff TestInt63.expected TestInt63.out)))

(rule
 (alias compat)
 (target TestInt63.v)
 (deps TestInt63.v.cppo)
 (action (run %{bin:cppo} -V OCAML:%{ocaml_version} -V COQ:%{coq:version} -n %{deps} -o %{target})))