Skip to content

Commit

Permalink
Fix opam lint in examples (#356)
Browse files Browse the repository at this point in the history
Resolves #350.
  • Loading branch information
alxtuz authored and aantron committed Oct 17, 2024
1 parent b7b4773 commit 186ab99
Show file tree
Hide file tree
Showing 49 changed files with 338 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
- run: opam exec -- make test
if: runner.os != 'Windows'

- run: opam lint example/**/*.opam

- name: Build examples
if: runner.os != 'Windows'
run: |
Expand Down
7 changes: 7 additions & 0 deletions example/1-hello/1-hello.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/2-middleware/2-middleware.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/3-router/3-router.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/4-counter/4-counter.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/5-promise/5-promise.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/6-echo/6-echo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/7-template/7-template.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/8-debug/8-debug.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/9-error/9-error.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/a-log/a-log.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/b-session/b-session.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/c-cookie/c-cookie.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/d-form/d-form.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/e-json/e-json.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ depends: [
"dune" {>= "2.0.0"}
"ppx_yojson_conv"
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/f-static/f-static.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/g-upload/g-upload.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/h-sql/h-sql.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/i-graphql/i-graphql.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/j-stream/j-stream.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/k-websocket/k-websocket.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/l-https/l-https.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/r-fullstack-melange/r-fullstack-melange.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ depends: [
"melange-webapi"
"reason" {>= "3.10.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-chat/w-chat.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-dream-html/w-dream-html.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream-html" {>= "3.3.1"}
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-flash/w-flash.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-fullstack-jsoo/w-fullstack-jsoo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ depends: [
"js_of_ocaml"
"js_of_ocaml-ppx"
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-graphql-subscription/w-graphql-subscription.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-live-reload/w-live-reload.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-long-polling/w-long-polling.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-mlx/w-mlx.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ depends: [
"mlx"
"html_of_jsx"
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-multipart-dump/w-multipart-dump.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-nginx/w-nginx.opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-one-binary/w-one-binary.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
7 changes: 7 additions & 0 deletions example/w-postgres/w-postgres.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ depends: [
"dream"
"dune" {>= "2.0.0"}
]

synopsis: "One of the Dream examples"
homepage: "https://github.com/aantron/dream"
bug-reports: "https://github.com/aantron/dream/issues"
author: "Anton Bachin <[email protected]>"
license: "MIT"
maintainer: "Anton Bachin <[email protected]>"
Loading

0 comments on commit 186ab99

Please sign in to comment.