From 63799b97d17fb7bd0c691c86117ecae7da1fc1ed Mon Sep 17 00:00:00 2001 From: nobv <36393714+nobv@users.noreply.github.com> Date: Sat, 23 May 2020 01:26:58 +0900 Subject: feat(PureScript): Add Purescript module (#1227) * Added configs/purescript * Added modules/purescript * Added necessary codes * Added tests * Updated README * Fixed color because black is hard to see * Fixed of push mistake * Fixed pointed out in PR --- src/modules/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/mod.rs') diff --git a/src/modules/mod.rs b/src/modules/mod.rs index 39993de13..26b69e4f6 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -31,6 +31,7 @@ mod nodejs; mod ocaml; mod package; mod php; +mod purescript; mod python; mod ruby; mod rust; @@ -84,6 +85,7 @@ pub fn handle<'a>(module: &str, context: &'a Context) -> Option> { "ocaml" => ocaml::module(context), "package" => package::module(context), "php" => php::module(context), + "purescript" => purescript::module(context), "python" => python::module(context), "ruby" => ruby::module(context), "rust" => rust::module(context), @@ -134,6 +136,7 @@ pub fn description(module: &str) -> &'static str { "ocaml" => "The currently installed version of OCaml", "package" => "The package version of the current directory's project", "php" => "The currently installed version of PHP", + "purescript" => "The currently installed version of PureScript", "python" => "The currently installed version of Python", "ruby" => "The currently installed version of Ruby", "rust" => "The currently installed version of Rust", -- cgit v1.2.3