Skip to content

Commit

Permalink
Discovering compass command-line extensions, including ad-hoc extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRiv authored and chriseppstein committed Oct 24, 2013
1 parent 710a808 commit 4b93ea5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/compass/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ module Compass::Commands
).each do |lib|
require "compass/commands/#{lib}"
end

Gem.find_files("compass-*").map{|f| File.basename(f, ".rb")}.each do |compass_extension|
require compass_extension
end
Compass.discover_extensions!

0 comments on commit 4b93ea5

Please sign in to comment.