···
3
+
maintainer: "hello@tweag.io"
6
+
homepage: "https://topiary.tweag.io/"
7
+
bug-reports: "https://github.com/tweag/topiary/issues"
8
+
dev-repo: "git+https://github.com/tweag/topiary.git"
11
+
depends: ["conf-rust-2021"]
16
+
"--package" "topiary-cli" ]
17
+
[ "sh" "make-topiary-wrapper.sh"
18
+
"--language-dir" "%{share}%/topiary/languages"
19
+
"--topiary-wrapped" "%{bin}%/.topiary-wrapped"
20
+
"--output-file" "topiary-wrapper" ]
24
+
[ "cp" "target/release/topiary" "%{bin}%/.topiary-wrapped" ]
25
+
[ "cp" "topiary-wrapper" "%{bin}%/topiary" ]
26
+
[ "mkdir" "%{share}%/topiary" ]
27
+
[ "cp" "-R" "topiary/languages" "%{share}%/topiary/languages" ]
30
+
synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"
32
+
Topiary is a tool in the Tree-sitter ecosystem, designed for formatter authors
33
+
and formatter users. Authors can create a formatter without having to write
34
+
their own engine or even their own parser. Users benefit from uniform code style
35
+
and the convenience of using a single formatter tool across multiple languages.
37
+
Topiary is written in Rust and developed by Tweag.
41
+
src: "https://github.com/tweag/topiary-opam/releases/download/v0.2.3/source-code-with-submodules.tar.xz"
43
+
"md5=fe4997d55ccf6c690e59932db9f118f1"
44
+
"sha512=a09b3dea64cd238b76f006dc1aedac58f221c2be260829467dd0c2600ea2ae16663312ed27626007b37c3e19cf24e8c8a86e11e587a52215f245e4484c1a2026"