diff --git a/.gitignore b/.gitignore index f28bbe4..9f83a0e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ sass.old source.old source/_stash source/stylesheets/screen.css +source/javascripts/octopress.min.js source/images/icon-*.png vendor node_modules diff --git a/Rakefile b/Rakefile index 82091c3..15f5d2f 100644 --- a/Rakefile +++ b/Rakefile @@ -61,9 +61,9 @@ task :generate do end Rake::Minify.new(:minify_and_combine) do - files = FileList.new("source/javascripts/group/*.*") + files = FileList.new("#{source_dir}/javascripts/group/*.*") - output_file = "source/javascripts/octopress.min.js" + output_file = "#{source_dir}/javascripts/octopress.min.js" puts "BEGIN Minifying #{output_file}" group(output_file) do