voom 0.1.0

Fast, safe, parallel build-artifact pruning across 24 language ecosystems
Documentation
//! Functional-language ecosystems.

use super::{Anchor, Artifact, Ecosystem};

pub(super) const ELIXIR: Ecosystem = Ecosystem {
    id: "elixir",
    name: "Elixir",
    markers: &["mix.exs"],
    anchor: Anchor::Sibling,
    artifacts: &[Artifact::on("_build/"), Artifact::on(".elixir_ls/")],
};

pub(super) const HASKELL: Ecosystem = Ecosystem {
    id: "haskell",
    name: "Haskell",
    markers: &["*.cabal", "stack.yaml"],
    anchor: Anchor::Sibling,
    artifacts: &[Artifact::on("dist-newstyle/"), Artifact::on(".stack-work/")],
};

pub(super) const OCAML: Ecosystem = Ecosystem {
    id: "ocaml",
    name: "OCaml / dune",
    markers: &["dune-project"],
    anchor: Anchor::Sibling,
    artifacts: &[Artifact::on("_build/")],
};