2
1
mirror of https://github.com/kdabir/has.git synced 2024-11-10 21:26:50 +01:00

Merge pull request #25 from danstewart/master

Add perl6 and kotlin
This commit is contained in:
Kunal Dabir 2018-10-26 18:37:35 +05:30 committed by GitHub
commit 87959c9b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
has
View File

@ -80,7 +80,7 @@ __detect(){
grunt|brunch) __dynamic_detect--version ${command} ;;
ruby|gem|rake|bundle) __dynamic_detect--version ${command} ;;
python|python3) __dynamic_detect--version ${command} ;;
perl|php|php5) __dynamic_detect--version ${command} ;;
perl|perl6|php|php5) __dynamic_detect--version ${command} ;;
groovy|gradle|mvn) __dynamic_detect--version ${command} ;;
lein) __dynamic_detect--version ${command} ;;
aws|eb|sls|gcloud) __dynamic_detect--version ${command} ;;
@ -88,7 +88,7 @@ __detect(){
# commands that need -version flag
ant|java|javac) __dynamic_detect-version ${command} ;;
scala) __dynamic_detect-version ${command} ;;
scala|kotlin) __dynamic_detect-version ${command} ;;
# commands that need version arg
hugo) __dynamic_detect-arg_version ${command} ;;