Add ordering to dashboard stylesheets
This commit is contained in:
parent
f299aceb21
commit
4fae71a002
|
@ -79,7 +79,7 @@ input assets.styles do
|
|||
|
||||
match 'dashboard/**/*.{scss,sass,css}' do
|
||||
sass assets.production? ? { style: :compressed } : {}
|
||||
concat assets.styles_order, ['dashboard.css']
|
||||
concat assets.dashboard_styles_order, ['dashboard.css']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ module Travis
|
|||
VENDOR_ORDER = %w(jquery.min minispade handlebars ember)
|
||||
PRODUCTION_VENDOR_ORDER = %w(jquery.min minispade handlebars ember.prod)
|
||||
SPEC_VENDOR_ORDER = %w(jasmine jasmine-html jasmine-runner sinon)
|
||||
STYLES_ORDER = %w(main/tools)
|
||||
STYLES_ORDER = %w(app/main/tools)
|
||||
DASHBOARD_STYLES_ORDER = %w(dashboard/foundation)
|
||||
|
||||
attr_reader :roots, :env
|
||||
|
||||
|
@ -40,6 +41,10 @@ module Travis
|
|||
STYLES_ORDER.map { |name| "#{name}.css" }
|
||||
end
|
||||
|
||||
def dashboard_styles_order
|
||||
DASHBOARD_STYLES_ORDER.map { |name| "#{name}.css" }
|
||||
end
|
||||
|
||||
def spec_vendor_order
|
||||
SPEC_VENDOR_ORDER.map { |name| "spec/vendor/#{name}.js" }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user