Skip to content

Commit

Permalink
Merge pull request #531 from FissoreD/master-tc-30-10
Browse files Browse the repository at this point in the history
Master TC 3
  • Loading branch information
gares authored Nov 3, 2023
2 parents ebe3678 + d70fa3f commit b2c498e
Show file tree
Hide file tree
Showing 52 changed files with 1,462 additions and 1,063 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"src/coq_elpi_vernacular_syntax.ml": true,
"**/Makefile.coq": true,
"**/Makefile.coq.conf": true,
"**/.merlin": true
},
"restructuredtext.confPath": "${workspaceFolder}/alectryon/recipes/sphinx",
"ocaml.server.args": [
Expand Down
15 changes: 13 additions & 2 deletions _CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,38 @@
-Q tests elpi.tests
-Q elpi elpi

# Derive
-R apps/derive/theories elpi.apps
-R apps/derive/tests elpi.apps.derive.tests
-R apps/derive/examples elpi.apps.derive.examples

# NES
-R apps/NES/theories elpi.apps
-R apps/NES/tests elpi.apps.NES.tests
-R apps/NES/examples elpi.apps.NES.examples

# Eltac
-R apps/eltac/theories elpi.apps.eltac
-R apps/eltac/tests elpi.apps.eltac.tests
-R apps/eltac/examples elpi.apps.eltac.examples
-R apps/coercion/theories elpi.apps.coercion

# Coercion
-R apps/coercion/theories elpi.apps.coercion
-R apps/coercion/tests elpi.apps.tc.coercion
-R apps/coercion/elpi elpi.apps.coercion
-I apps/coercion/src

# Type classes
-R apps/tc/theories elpi.apps.tc
-R apps/tc/tests elpi.apps.tc.tests
-R apps/tc/elpi elpi.apps.tc
-I apps/tc/src

# Coq-elpi
theories/elpi.v
theories/wip/memoization.v

-I src

src/META.coq-elpi

src/coq_elpi_vernacular_syntax.mlg
Expand Down
18 changes: 1 addition & 17 deletions apps/tc/Makefile.coq.local
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
CAMLPKGS+= -package coq-elpi.elpi
OCAMLPATH:=../../src/:$(OCAMLPATH)
export OCAMLPATH

# detection of elpi
ifeq "$(ELPIDIR)" ""
ELPIDIR=$(shell ocamlfind query elpi 2>/dev/null)
endif
ifeq "$(ELPIDIR)" ""
$(error Elpi not found, make sure it is installed in your PATH or set ELPIDIR)
endif
export ELPIDIR

merlin-hook::
echo "S $(abspath $(ELPIDIR))" >> .merlin
echo "B $(abspath $(ELPIDIR))" >> .merlin
if [ "$(ELPIDIR)" != "elpi/findlib/elpi" ]; then\
echo "PKG elpi" >> .merlin;\
fi
export OCAMLPATH
Loading

0 comments on commit b2c498e

Please sign in to comment.