Include themes directory in bundle

This commit is contained in:
Corey Johnson & Nathan Sobo 2012-08-08 14:14:20 -07:00
parent 2a945838f5
commit 2945576cb7

View File

@ -71,13 +71,12 @@ task :"copy-files-to-bundle" => :"verify-prerequisites" do
sh "coffee -c -o #{dest}/src/stdlib src/stdlib/require.coffee"
cp "src/stdlib/onig-reg-exp-extension.js", "#{dest}/src/stdlib"
unless ENV['LOAD_RESOURCES_FROM_DIR']
%w(src static vendor spec benchmark).each do |dir|
%w(src static vendor spec benchmark bundles themes).each do |dir|
rm_rf File.join(dest, dir)
cp_r dir, File.join(dest, dir)
end
sh "coffee -c #{dest}/src #{dest}/vendor #{dest}/spec #{dest}/benchmark"
cp_r "bundles", "#{dest}/bundles"
end
end