aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/ocamlformat/init.lua
blob: e24f33a9bbf08aeaae017623fb0fb5dc93878e6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local _ = require "mason-core.functional"
local Pkg = require "mason-core.package"
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" } },
}