Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ theories-stdlib/dune
apps/coercion/src/dune
apps/cs/src/dune
apps/tc/src/dune
src/dune
src/dune

_RocqProject
93 changes: 0 additions & 93 deletions _CoqProject

This file was deleted.

3 changes: 2 additions & 1 deletion apps/NES/elpi/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.NES.elpi)
(package rocq-elpi)
(generate_project_file)
(theories elpi))

(rule
Expand Down
3 changes: 2 additions & 1 deletion apps/NES/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.apps.NES.examples)
(generate_project_file)
(theories elpi elpi.apps.NES))

(include_subdirs qualified)
7 changes: 3 additions & 4 deletions apps/NES/tests/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.apps.NES.tests)
(package rocq-elpi-tests)
(generate_project_file)
(theories elpi elpi.apps.NES))

(include_subdirs qualified)

3 changes: 2 additions & 1 deletion apps/NES/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.NES)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.NES.elpi))

(include_subdirs qualified)
4 changes: 2 additions & 2 deletions apps/coercion/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
(name elpi_coercion_plugin)
(public_name rocq-elpi.coercion)
(flags :standard -w -27)
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{coq:version.major}.%{coq:version.minor}\")"))
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{rocq:version.major}.%{rocq:version.minor}\")"))
(libraries rocq-runtime.plugins.ltac rocq-runtime.vernac rocq-elpi.elpi))

(coq.pp
(rocq.pp
(modules rocq_elpi_coercion_hook))
7 changes: 3 additions & 4 deletions apps/coercion/tests/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.apps.coercion.tests)
(package rocq-elpi-tests)
(generate_project_file)
(theories elpi elpi.apps.coercion))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/coercion/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.coercion)
(package rocq-elpi)
(generate_project_file)
(theories elpi)
(plugins rocq-elpi.coercion))

Expand Down
4 changes: 2 additions & 2 deletions apps/cs/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
(name elpi_cs_plugin)
(public_name rocq-elpi.cs)
(flags :standard -w -27)
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{coq:version.major}.%{coq:version.minor}\")"))
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{rocq:version.major}.%{rocq:version.minor}\")"))
(libraries rocq-runtime.plugins.ltac rocq-runtime.vernac rocq-elpi.elpi))

(coq.pp
(rocq.pp
(modules rocq_elpi_cs_hook))
3 changes: 1 addition & 2 deletions apps/cs/tests/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(cram
(applies_to :whole_subtree)
(deps
%{bin:coqc}
%{bin:coqdep}
%{bin:rocq}
(package rocq-elpi)
setup-project.sh))
3 changes: 2 additions & 1 deletion apps/cs/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.cs)
(package rocq-elpi)
(generate_project_file)
(theories elpi)
(plugins rocq-elpi.cs))

Expand Down
3 changes: 2 additions & 1 deletion apps/derive/elpi/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.derive.elpi)
(package rocq-elpi)
(generate_project_file)
(theories elpi))

(rule
Expand Down
3 changes: 2 additions & 1 deletion apps/derive/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.apps.derive.examples)
(generate_project_file)
(theories elpi elpi.apps.derive))

(include_subdirs qualified)
7 changes: 3 additions & 4 deletions apps/derive/tests-stdlib/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(coq.theory
(package rocq-elpi-tests-stdlib)
(include_subdirs qualified)
(rocq.theory
(name elpi_apps_derive_tests_stdlib)
(generate_project_file)
(flags :standard -w -default-output-directory)
(theories elpi elpi.apps.derive elpi.apps.derive.tests Stdlib))

(include_subdirs qualified)
7 changes: 3 additions & 4 deletions apps/derive/tests/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.apps.derive.tests)
(package rocq-elpi-tests)
(generate_project_file)
(flags :standard -w -default-output-directory)
(theories elpi elpi.apps.derive))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/derive/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.derive)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.derive.elpi))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/eltac/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.apps.eltac.examples)
(generate_project_file)
(theories elpi elpi.apps.eltac))

(include_subdirs qualified)
7 changes: 3 additions & 4 deletions apps/eltac/tests-stdlib/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(coq.theory
(package rocq-elpi-tests-stdlib)
(include_subdirs qualified)
(rocq.theory
(name elpi_apps_eltac_tests_stdlib)
(generate_project_file)
(theories elpi elpi.apps.eltac Stdlib))

(include_subdirs qualified)
7 changes: 3 additions & 4 deletions apps/eltac/tests/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.apps.eltac.tests)
(package rocq-elpi-tests)
(generate_project_file)
(theories elpi elpi.apps.eltac))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/eltac/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.eltac)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.derive))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/json/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.json.examples)
(generate_project_file)
(theories elpi elpi.json elpi.json.tests))

(include_subdirs qualified)
2 changes: 1 addition & 1 deletion apps/json/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name elpi_json_plugin)
(public_name rocq-elpi-json.elpi_json_plugin)
(flags :standard -w -27)
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{coq:version.major}.%{coq:version.minor}\")"))
(preprocess (pps ppx_optcomp -- -cookie "ppx_optcomp.env=env ~coq:(Defined \"%{rocq:version.major}.%{rocq:version.minor}\")"))
(libraries rocq-runtime.plugins.ltac rocq-runtime.vernac rocq-elpi.elpi elpi yojson))
7 changes: 3 additions & 4 deletions apps/json/tests-plugin/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.json.tests)
(package rocq-elpi-json-tests)
(generate_project_file)
(theories elpi elpi.json))

; work around missing dune support for Extra Dependency
Expand All @@ -13,5 +14,3 @@
(with-stdout-to %{target}
(progn
(run rocq_elpi_shafile %{deps})))))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/json/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.json)
(theories elpi_elpi elpi)
(generate_project_file)
(plugins rocq-elpi-json.elpi_json_plugin)
(package rocq-elpi-json))

Expand Down
3 changes: 2 additions & 1 deletion apps/locker/elpi/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.locker.elpi)
(package rocq-elpi)
(generate_project_file)
(theories elpi))

(rule
Expand Down
7 changes: 3 additions & 4 deletions apps/locker/tests/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(coq.theory
(include_subdirs qualified)
(rocq.theory
(name elpi.apps.locker.tests)
(package rocq-elpi-tests)
(generate_project_file)
(theories elpi elpi.apps.locker))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/locker/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.locker)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.locker.elpi))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/rbuild/elpi/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.rbuild.elpi)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.coercion))

(rule
Expand Down
3 changes: 2 additions & 1 deletion apps/rbuild/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.apps.rbuild.examples)
(generate_project_file)
(theories elpi elpi.apps.rbuild elpi.apps.derive))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/rbuild/theories/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.rbuild)
(package rocq-elpi)
(generate_project_file)
(theories elpi elpi.apps.rbuild.elpi elpi.apps.derive))

(include_subdirs qualified)
3 changes: 2 additions & 1 deletion apps/tc/elpi/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(coq.theory
(rocq.theory
(name elpi.apps.tc.elpi)
(package rocq-elpi)
(generate_project_file)
(theories elpi))

(rule
Expand Down
3 changes: 2 additions & 1 deletion apps/tc/examples/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(coq.theory
(rocq.theory
(name elpi.apps.tc.examples)
(generate_project_file)
(theories elpi elpi.apps.tc Stdlib))

(include_subdirs qualified)
Loading
Loading