-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathREADME.md.mustache
More file actions
157 lines (136 loc) · 5.73 KB
/
Copy pathREADME.md.mustache
File metadata and controls
157 lines (136 loc) · 5.73 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!---
This file was generated from `meta.yml`, please do not edit manually.
Follow the instructions on https://github.com/coq-community/templates to regenerate.
--->
# {{& fullname }}
{{# travis }}
[![Travis][travis-shield]][travis-link]
{{/ travis }}
{{# action }}
[![Docker CI][docker-action-shield]][docker-action-link]
{{# nix }}
[![Nix CI][nix-action-shield]][nix-action-link]
{{/ nix }}
{{/ action }}
{{# chat }}
[![Chat][chat-shield]][chat-link]
{{/ chat }}
{{# circleci }}
[![CircleCI][circleci-shield]][circleci-link]
{{/ circleci }}
{{# community }}
[![Contributing][contributing-shield]][contributing-link]
[![Code of Conduct][conduct-shield]][conduct-link]
[![Zulip][zulip-shield]][zulip-link]
{{/ community }}
{{# coqdoc }}
[![coqdoc][coqdoc-shield]][coqdoc-link]
{{/ coqdoc }}
{{# doi }}
[![DOI][doi-shield]][doi-link]
{{/ doi }}
{{# travis }}
[travis-shield]: https://travis-ci.com/{{ organization }}/{{ shortname }}.svg?branch={{branch}}{{^branch}}master{{/branch}}
[travis-link]: https://travis-ci.com/{{ organization }}/{{ shortname }}/builds
{{/ travis }}
{{# action }}
[docker-action-shield]: https://github.com/{{ organization }}/{{ shortname }}/actions/workflows/docker-action.yml/badge.svg?branch={{branch}}{{^branch}}master{{/branch}}
[docker-action-link]: https://github.com/{{ organization }}/{{ shortname }}/actions/workflows/docker-action.yml
{{# nix }}
[nix-action-shield]: https://github.com/{{ organization }}/{{ shortname }}/actions/workflows/nix-action.yml/badge.svg?branch={{branch}}{{^branch}}master{{/branch}}
[nix-action-link]: https://github.com/{{ organization }}/{{ shortname }}/actions/workflows/nix-action.yml
{{/ nix }}
{{/ action }}
{{# chat }}
[chat-shield]: https://img.shields.io/badge/{{ shield }}-join_chat-brightgreen.svg
[chat-link]: {{ url }}
{{/ chat }}
{{# circleci }}
[circleci-shield]: https://circleci.com/gh/{{ organization }}/{{ shortname }}.svg?style=svg
[circleci-link]: https://circleci.com/gh/{{ organization }}/{{ shortname }}
{{/ circleci }}
{{# community }}
[contributing-shield]: https://img.shields.io/badge/contributions-welcome-%23f7931e.svg
[contributing-link]: https://github.com/coq-community/manifesto/blob/master/CONTRIBUTING.md
[conduct-shield]: https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-%23f15a24.svg
[conduct-link]: https://github.com/coq-community/manifesto/blob/master/CODE_OF_CONDUCT.md
[zulip-shield]: https://img.shields.io/badge/chat-on%20zulip-%23c1272d.svg
[zulip-link]: https://coq.zulipchat.com/#narrow/stream/237663-coq-community-devs.20.26.20users
{{/ community }}
{{# coqdoc }}
[coqdoc-shield]: https://img.shields.io/badge/docs-coqdoc-blue.svg
[coqdoc-link]: https://{{# community }}coq-community.org{{/ community }}{{^ community }}{{ organization }}.github.io{{/ community }}/{{ shortname }}{{# coqdoc_index }}/{{ coqdoc_index }}{{/coqdoc_index}}
{{/ coqdoc }}
{{# doi }}
[doi-shield]: https://zenodo.org/badge/DOI/{{ doi }}.svg
[doi-link]: https://doi.org/{{ doi }}
{{/ doi }}
{{& description }}
## Meta
- Author(s):
{{# authors }}
- {{& name }}{{# orcid }} [<img src="https://zenodo.org/static/images/orcid.svg" height="14px" alt="ORCID logo" />](https://orcid.org/{{ orcid }}){{/ orcid }}{{# initial }} (initial){{/ initial }}
{{/ authors }}
{{& after_authors }}{{# community }}- Rocq-community maintainer(s):
{{# maintainers }}
- {{& name }} ([**@{{ nickname }}**](https://github.com/{{ nickname }}))
{{/ maintainers }}
{{/ community }}
{{# license }}
- License: [{{& fullname }}]({{ file }}{{^ file }}LICENSE{{/ file }})
{{/ license }}
{{# supported_coq_versions }}
- Compatible Rocq/Coq versions: {{& text }}
{{/ supported_coq_versions }}
{{# supported_ocaml_versions }}
- Compatible OCaml versions: {{& text }}
{{/ supported_ocaml_versions }}
- Additional dependencies:{{# dependencies }}
- {{& description }}{{/ dependencies }}{{^ dependencies }}{{^ dune }} none{{/ dune }}{{/ dependencies }}{{# dune }}
- [Dune](https://dune.build) 3.6 or later{{/ dune }}
{{# namespace }}
- Rocq/Coq namespace: `{{ namespace }}`
{{/ namespace }}
- Related publication(s):{{# publications }}
- [{{& pub_title }}]({{ pub_url }}) {{# pub_doi }}doi:[{{ pub_doi }}](https://doi.org/{{ pub_doi }}){{/ pub_doi}}{{/ publications }}{{^ publications }} none{{/ publications }}
{{& build }}{{^ build }}## Building and installation instructions
The easiest way to install the latest released version of {{& fullname }}
is via [OPAM](https://opam.ocaml.org/doc/Install.html):
```shell
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install {{ opam_name }}{{^ opam_name }}coq-{{ shortname }}{{/ opam_name }}
```
To instead build and install manually, you need to make sure that all the
libraries this development depends on are installed. The easiest way to do that
is still to rely on opam:
``` shell
git clone {{# submodule }}--recurse-submodules {{/ submodule }}https://github.com/{{ organization }}/{{ shortname }}.git
cd {{ shortname }}
opam repo add rocq-released https://rocq-prover.org/opam/released
opam install --deps-only .
{{# dune }}
dune build
dune install
{{/ dune}}
{{^ dune }}
make {{ make_target }} # or make -j <number-of-cores-on-your-machine> {{ make_target }}
make install
{{/ dune }}
```
{{/ build }}
{{# extracted }}
## {{& extracted_fullname }}
{{& extracted_description}}
{{# extracted_supported_ocaml_versions }}
- Compatible OCaml versions: {{& text }}
{{/ extracted_supported_ocaml_versions }}
- Additional dependencies:{{# extracted_dependencies }}
- {{& description }} {{/ extracted_dependencies }}{{^ extracted_dependencies }} none{{/ extracted_dependencies }}
{{& extracted_build }}{{^ extracted_build }}### Building
To extract the code and compile manually, use the following command:
```
make {{& extracted_make_target }}
```
{{/ extracted_build }}
{{/ extracted }}
{{& documentation }}