Skip to content

Commit

Permalink
ref: clarify supported_coq_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
liyishuai committed May 26, 2020
1 parent 73f8047 commit 1562dd4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
4 changes: 1 addition & 3 deletions coq.opam.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ depends: [
{{# supported_ocaml_versions }}
"ocaml" {{& opam }}
{{/ supported_ocaml_versions }}
{{# supported_coq_versions }}
"coq" {{& opam }}
{{/ supported_coq_versions }}
"coq" {{& supported_coq_versions.opam }}
{{# dependencies }}
{{# opam }}
"{{ name }}" {{& version }}
Expand Down
4 changes: 1 addition & 3 deletions extracted.opam.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ depends: [
{{# extracted_supported_ocaml_versions }}
"ocaml" {{& opam }}
{{/ extracted_supported_ocaml_versions }}
{{# supported_coq_versions }}
"coq" {{& opam }}
{{/ supported_coq_versions }}
"coq" {{& supported_coq_versions.opam }}
{{# dependencies }}
{{# opam }}
"{{ name }}" {{& version }}
Expand Down
18 changes: 15 additions & 3 deletions ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,15 @@ keys:
used:
- README.md
- opam:
required: true
required: false
description: >
Version formula including curly brackets:
https://opam.ocaml.org/doc/Manual.html#Common-file-format
Quote the string, otherwise confuse the parser.
examples:
- '{ >= "8.10" }'
used:
- coq.opam
used:
- coq.opam
- extracted.opam
Expand All @@ -129,8 +137,6 @@ keys:
- README.md
- opam:
required: true
used:
- coq.opam
- plugin:
type: bool
used:
Expand Down Expand Up @@ -252,6 +258,9 @@ keys:
Docker tag supported by coqorg/coq:
https://github.com/coq-community/docker-coq/wiki#supported-tags
Quote the strings, otherwise '8.10' becomes '8.1'.
examples:
- '8.11'
- 'dev'
used:
- .travis.yml
- documentation:
Expand Down Expand Up @@ -283,6 +292,9 @@ keys:
Docker tag supported by coqorg/coq:
https://github.com/coq-community/docker-coq/wiki#supported-tags
Quote the strings, otherwise '8.10' becomes '8.1'.
examples:
- '8.11'
- 'dev'
used:
- .travis.yml
- coq-action.yml
Expand Down

0 comments on commit 1562dd4

Please sign in to comment.