package gotd
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8323e64edc04950e71e22fd377510162c5e2bf26c412a3db49b250b4d0f46682
sha512=50360ace63e09013ad1a0104ed9b6f115ab0f4d0085e321736015b6df5f72ebb5f7d7c72747e1de1ba5296f540a69089106c7494cea3e694878ad19d359b1549
README.md.html
gotd
gotd
is an OCaml executable to quickly start an OCaml project.
Installation
gotd
can be installed with opam:
opam install gotd
If you don't have opam
, you can install it following the how to install opam guide.
If you can't or don't want to use opam
, consult the opam file for build instructions.
Quickstart
$ gotd sozet
Will create a directory named sozet
containing a skeleton OCaml project. In some places, there'll be some TODO
s that you can fix later.
If you want to customize what's generated, simply write a configuration file for gotd
in ${XDG_CONFIG_HOME:-~/.config}/gotd/config.scfg
with the following content adapted to your needs:
author "Léo Andrès <contact@ndrs.fr>"
bug_prefix https://git.zapashcanon.fr/zapashcanon/
bug_suffix /issues
doc_prefix https://doc.zapashcanon.fr/
doc_suffix ""
homepage_prefix https://git.zapashcanon.fr/zapashcanon/
homepage_suffix ""
license ISC
maintainer "Léo Andrès <contact@ndrs.fr>"
source_prefix git+https://git.zapashcanon.fr/zapashcanon/
source_suffix .git
When creating a project, the bug address will be bug_prefix ^ project_name ^ bug_suffix
. E.g. on a project called sozet
, with my configuration it would be https://git.zapashcanon.fr/zapashcanon/sozet/issues
.