mirror of
https://github.com/kdabir/has.git
synced 2024-11-10 21:26:50 +01:00
commit
87959c9b70
4
has
4
has
@ -80,7 +80,7 @@ __detect(){
|
|||||||
grunt|brunch) __dynamic_detect--version ${command} ;;
|
grunt|brunch) __dynamic_detect--version ${command} ;;
|
||||||
ruby|gem|rake|bundle) __dynamic_detect--version ${command} ;;
|
ruby|gem|rake|bundle) __dynamic_detect--version ${command} ;;
|
||||||
python|python3) __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} ;;
|
groovy|gradle|mvn) __dynamic_detect--version ${command} ;;
|
||||||
lein) __dynamic_detect--version ${command} ;;
|
lein) __dynamic_detect--version ${command} ;;
|
||||||
aws|eb|sls|gcloud) __dynamic_detect--version ${command} ;;
|
aws|eb|sls|gcloud) __dynamic_detect--version ${command} ;;
|
||||||
@ -88,7 +88,7 @@ __detect(){
|
|||||||
|
|
||||||
# commands that need -version flag
|
# commands that need -version flag
|
||||||
ant|java|javac) __dynamic_detect-version ${command} ;;
|
ant|java|javac) __dynamic_detect-version ${command} ;;
|
||||||
scala) __dynamic_detect-version ${command} ;;
|
scala|kotlin) __dynamic_detect-version ${command} ;;
|
||||||
|
|
||||||
# commands that need version arg
|
# commands that need version arg
|
||||||
hugo) __dynamic_detect-arg_version ${command} ;;
|
hugo) __dynamic_detect-arg_version ${command} ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user