Skip to content
Browse files

Teach `devkit:ls` to show its default value

  • Loading branch information...
1 parent f48eec9 commit aea67e174d366c5362c3d8b90218cfdb1b647ed1 @jonforums jonforums committed Apr 29, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 recipes/devkit/devkit.rake
View
4 recipes/devkit/devkit.rake
@@ -78,7 +78,9 @@ namespace(:devkit) do
desc 'List valid DevKit flavors'
task :ls do
puts "\n=== Available DevKit's ==="
- DevKitInstaller::COMPILERS.keys.sort.each { |c| puts " #{c}" }
+ DevKitInstaller::COMPILERS.keys.sort.each do |k|
+ puts " #{DevKitInstaller::DEFAULT_VERSION.downcase == k.downcase ? '=>' : ' ' } #{k}"
+ end
end
end

0 comments on commit aea67e1

Please sign in to comment.
Something went wrong with that request. Please try again.