def add_library name, path
      if path.is_a?(Array)
        path = path.collect { |p| expand_local_path(p) }
      else
        path = expand_local_path path
      end
      library = Sprout::Library.new( :name => name, :path => path, :file_target => self )
      libraries << library
      library
    end
def add_library name, path
      if path.is_a?(Array)
        path = path.collect { |p| expand_local_path(p) }
      else
        path = expand_local_path path
      end
      library = Sprout::Library.new( :name => name, :path => path, :file_target => self )
      libraries << library
      library
    end
Add a library to the package.

 @return [Sprout::Library] The newly created library that was added.
 @param name [Symbol] Name that will be used to retrieve this library on +load+.
 @param path [File, Path, Array] File or files that will be associated with
   this library and copied into the target project library folder when loaded.
   (If the path is a directory, all files forward of that directory will be included.)