summaryrefslogtreecommitdiffstats
path: root/src/modules/mod.rs
diff options
context:
space:
mode:
authornobv <36393714+nobv@users.noreply.github.com>2020-05-23 01:26:58 +0900
committerGitHub <noreply@github.com>2020-05-22 18:26:58 +0200
commit63799b97d17fb7bd0c691c86117ecae7da1fc1ed (patch)
treefa2094b2f35557f2717055cc4bca1f91d15eadce /src/modules/mod.rs
parenta670e01c229cd71529a7313f1d5b96ae3e0cd69d (diff)
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
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r--src/modules/mod.rs3
1 files changed, 3 insertions, 0 deletions
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<Module<'a>> {
"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",