idris-community / inigo

Inigo: A Package Manager for Idris2
https://inigo.pm
MIT License
61 stars 7 forks source link

Add `Inigo.dhall` config file #24

Closed alexhumphreys closed 3 years ago

alexhumphreys commented 3 years ago

This adds the ability to configure packages with an Inigo.dhall file. If Inigo doesn't find an Inigo.toml file, it will check for an Inigo.dhall file. If it finds both or neither, then it errors.

The format of the Inigo.dhall file is described in docs/src/dhall.rst.

I don't know how sphinx documentation works so that may be very wrong.

Possibly depends on #23, since I only tested locally with latest idris2.