aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/ocamlformat/init.lua
blob: a92b4e23591888db743fc1bba0c929f1f1ae16b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local Pkg = require "mason-core.package"
local _ = require "mason-core.functional"
local opam = require "mason-core.managers.opam"

return Pkg.new {
    name = "ocamlformat",
    desc = _.dedent [[
        ocamlformat is a tool for formatting OCaml code. It automatically adjusts the layout of your code to follow the
        recommended style guidelines, making it easier to read and understand.
    ]],
    homepage = "https://github.com/ocaml-ppx/ocamlformat",
    languages = { Pkg.Lang.OCaml },
    categories = { Pkg.Cat.Formatter },
    install = opam.packages { "ocamlformat", bin = { "ocamlformat" } },
}