From d6d6ef300900b9fd35f06c2e0edc70deac7c8b01 Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Wed, 3 Oct 2012 18:37:42 +0200 Subject: [PATCH] just include *.hbs --- AssetFile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AssetFile b/AssetFile index b665300b..957f15b4 100644 --- a/AssetFile +++ b/AssetFile @@ -17,7 +17,7 @@ Travis::Version.update output 'public/scripts' input paths[:scripts] do - match 'app/templates/**/*.hbs' do + match '**/*.hbs' do filter Travis::HandlebarsFilter concat 'app/templates.js' end @@ -26,7 +26,7 @@ input paths[:scripts] do coffee_script end - match %r(^(?!vendor\/).*\.js) do + match %r(^(?!vendor\/).*\.js$) do modules = proc { |input| input.path.gsub(%r((^app/|^lib/|\.js$)), '') } minispade(string: true, rewrite_requires: true, module_id_generator: modules) concat [], ['dev/app.js', 'min/app.js']