Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/forge/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ def init_sprockets
@sprockets.append_path File.join(@assets_path, dir)
end

if @project.config[:sprockets_paths]
@project.config[:sprockets_paths].each do |dir|
@sprockets.append_path dir
end
end

# Add assets/styleshets to load path for Less Engine
Tilt::LessTemplateWithPaths.load_path = File.join(@assets_path, 'stylesheets')

Expand Down