Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Dec 11, 2024
1 parent c039eee commit 9ab45d0
Show file tree
Hide file tree
Showing 39 changed files with 1,672 additions and 2,029 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Main workflow
name: Builds, tests & co

on:
pull_request:
push:
pull_request:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
Expand All @@ -13,60 +13,49 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- macos-latest
- windows-latest

runs-on: ${{ matrix.os }}

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"

- run: opam install . --deps-only

- run: opam exec -- make all

lint-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"

- uses: ocaml/setup-ocaml/lint-doc@v3

lint-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"

- uses: ocaml/setup-ocaml/lint-fmt@v3

lint-opam:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"

- uses: ocaml/setup-ocaml/lint-opam@v3
19 changes: 1 addition & 18 deletions .ocamlformat
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
version=0.26.2
version=0.27.0
profile=conventional
break-cases=fit-or-vertical
break-separators=before
break-sequences=true
cases-exp-indent=2
doc-comments=before
dock-collection-brackets=false
field-space=loose
if-then-else=keyword-first
indicate-nested-or-patterns=unsafe-no
let-and=sparse
let-and=sparse
parse-docstrings=true
sequence-style=terminator
space-around-arrays
space-around-lists
space-around-records
type-decl=sparse
wrap-comments=true
35 changes: 10 additions & 25 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,41 +1,26 @@
(lang dune 2.0)

(using menhir 2.0)

(lang dune 3.17)
(name html_of_wiki)

(generate_opam_files true)
(implicit_transitive_deps false)

(license "LGPL-2.1 with OCaml linking exception")

(authors "The ocsigen team <dev@ocsigen.org>")

(maintainers
"The ocsigen team <dev@ocsigen.org>"
"Leo Valais <leo.valais97@gmail.com>")

(source
(github ocsigen/html_of_wiki))

(bug_reports "https://github.com/ocsigen/html_of_wiki/issues")

(homepage "https://github.com/ocsigen/html_of_wiki")

(maintainers "The ocsigen team <dev@ocsigen.org>" "Leo Valais <leo.valais97@gmail.com>")
(source (github ocsigen/html_of_wiki))
(documentation "https://ocsigen.org/html_of_wiki/2.0/manual/intro")

(generate_opam_files true)

(package
(name html_of_wiki)
(synopsis "A wikicreole to HTML compiler")
(description
"a static website generator for software projects, using wikicreole syntax.")
(description "a static website generator for software projects, using wikicreole syntax.")
(depends
(ocaml (< 5.0))
("cmdliner" (>= 1.1.1))
"js_of_ocaml-ppx_deriving_json"
("tyxml"(>= 4.6.0))
"base64"
"js_of_ocaml-ppx"
"js_of_ocaml-ppx_deriving_json"
"ocamlfind"
"re"
"base64"
"reason"
("tyxml"(>= 4.6.0))))
"reason"))
12 changes: 7 additions & 5 deletions html_of_wiki.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ homepage: "https://github.com/ocsigen/html_of_wiki"
doc: "https://ocsigen.org/html_of_wiki/2.0/manual/intro"
bug-reports: "https://github.com/ocsigen/html_of_wiki/issues"
depends: [
"dune" {>= "2.0"}
"dune" {>= "3.17"}
"ocaml" {< "5.0"}
"cmdliner" {>= "1.1.1"}
"js_of_ocaml-ppx_deriving_json"
"tyxml" {>= "4.6.0"}
"base64"
"js_of_ocaml-ppx"
"js_of_ocaml-ppx_deriving_json"
"ocamlfind"
"re"
"base64"
"reason"
"tyxml" {>= "4.6.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
[
"dune"
"build"
Expand Down
5 changes: 3 additions & 2 deletions ohow-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ OPTIONS
-r, --hl, --headless
Produces raw HTML without head tag and not inside a body tag.

--root=DIR (absent=/home/hugo/html_of_wiki/_build/default)
--root=DIR
(absent=/Users/smorimoto/src/github.com/ocsigen/html_of_wiki/_build/default)
Use the given root directory.

-t FILE, --template=FILE
Expand All @@ -134,7 +135,7 @@ COMMON OPTIONS
Show version information.

EXIT STATUS
ohow exits with the following status:
ohow exits with:

0 on success.

Expand Down
Loading

0 comments on commit 9ab45d0

Please sign in to comment.