package gotd

  1. Overview
  2. Docs
Quickly start an OCaml project

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=8323e64edc04950e71e22fd377510162c5e2bf26c412a3db49b250b4d0f46682
sha512=50360ace63e09013ad1a0104ed9b6f115ab0f4d0085e321736015b6df5f72ebb5f7d7c72747e1de1ba5296f540a69089106c7494cea3e694878ad19d359b1549

Description

Gotd is an OCaml executable to quickly start an OCaml project.

Published: 13 Feb 2023

README

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 TODOs 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.

About

Dependencies (6)

  1. scfg
  2. fpath
  3. directories
  4. bos
  5. ocaml >= "4.13"
  6. dune >= "2.8"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts (1)

  1. rresult < "0.7"
OCaml

Innovation. Community. Security.