Skip to content
Closed
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
10 changes: 6 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[submodule "rocq"]
path = rocq
url = git@github.com:rocq-prover/rocq.git
url = git@github.com:impermeable/rocq.git
branch = wp_proof_mode
[submodule "coq-waterproof"]
path = coq-waterproof
url = git@github.com:impermeable/coq-waterproof.git
branch = wp_proof_mode
[submodule "stdlib"]
path = stdlib
url = git@github.com:rocq-prover/stdlib.git
[submodule "coq-lsp"]
path = coq-lsp
url = git@github.com:ejgallego/coq-lsp.git
[submodule "coq-waterproof"]
path = coq-waterproof
url = git@github.com:impermeable/coq-waterproof.git
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PKG_SET=coq-lsp/coq-lsp.install rocq/coq-core.install rocq/rocq-core.install roc

.PHONY: build
build: rocq/config/coq_config.ml
dune build $(PKG_SET)
dune build $(DUNEOPT) $(PKG_SET)

# Ideally we could regenerate this on Rocq updates, usually not needed
rocq/config/coq_config.ml: rocq
Expand Down Expand Up @@ -37,7 +37,7 @@ clean:

# Test
.PHONY: test
launch: build
test: build
echo "Test not implemented"

# Launch where the _CoqProject file is
Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
## Waterproof Dev environment

This is a meta-project providing a setup to build coq-waterproof against the Rocq master branch along with master branches of other tools.
This is a meta-project providing a setup to build coq-waterproof
against the Rocq master branch along with master branches of other
tools.

Building is done using `make all`.
Building is done using `make`.

To use `coq-lsp` in vscode, one can then run

Expand All @@ -16,3 +18,13 @@ To execute tests against the Waterproof exercises, run
```
dune test
```
## Branch setup for the composed build

As of today, we have two specific branches for the Waterproof proof
mode setup, in particular for Rocq and Waterproof, we store the
changes in the `wp_proof_mode` branch at the impermeable repository:

- https://github.com/impermeable/coq-waterproof/tree/wp_proof_mode
- https://github.com/impermeable/rocq/tree/wp_proof_mode
- stdlib: we use the main branch
- coq-lsp: we use the main branch
2 changes: 1 addition & 1 deletion coq-lsp
2 changes: 1 addition & 1 deletion coq-waterproof
Submodule coq-waterproof updated 147 files
2 changes: 1 addition & 1 deletion rocq
Submodule rocq updated 1111 files
2 changes: 1 addition & 1 deletion stdlib
Submodule stdlib updated 431 files
Loading