Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add support for SPROCKETS_PATH env var

  • Loading branch information...
josh committed Dec 16, 2011
1 parent 95333a1 commit ce329f13189d785c17891172157b1b94731a8b6b
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/sprockets
@@ -15,6 +15,10 @@ filenames = []
environment = Sprockets::Environment.new(Dir.pwd)
manifest = nil

(ENV['SPROCKETS_PATH'] || "").split(File::PATH_SEPARATOR).each do |path|
environment.append_path path
end

OptionParser.new do |opts|
opts.summary_width = 28
opts.banner = "Usage: sprocketize [options] filename [filename ...]"

0 comments on commit ce329f1

Please sign in to comment.
You can’t perform that action at this time.