From 577e5f1657e529f0f33ade479a2d8cbe8509c49a Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 24 May 2011 21:40:03 -0500 Subject: [PATCH] Extract shebang configs to a yaml file --- lib/linguist/shebangs.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lib/linguist/shebangs.yml diff --git a/lib/linguist/shebangs.yml b/lib/linguist/shebangs.yml new file mode 100644 index 00000000..fe19e27d --- /dev/null +++ b/lib/linguist/shebangs.yml @@ -0,0 +1,25 @@ +# Maps shebang script names to Language names +# +# Language names are implicitly mapped to their downcased versions, +# so this would be redundant: +# +# Ruby: +# - ruby + +Java: +- groovy + +# JavaScript interpreters +JavaScript: +- node + +# Ruby interpreters and runners +Ruby: +- macruby +- rake + +# Other shells +Shell: +- bash +- sh +- zsh