mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 15:25:04 -04:00
Added combined javascript to .gitignore. Rake minify now uses configuration for the source directory
This commit is contained in:
parent
17368e93c4
commit
c2e14bf88e
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ sass.old
|
|||||||
source.old
|
source.old
|
||||||
source/_stash
|
source/_stash
|
||||||
source/stylesheets/screen.css
|
source/stylesheets/screen.css
|
||||||
|
source/javascripts/octopress.min.js
|
||||||
source/images/icon-*.png
|
source/images/icon-*.png
|
||||||
vendor
|
vendor
|
||||||
node_modules
|
node_modules
|
||||||
|
4
Rakefile
4
Rakefile
@ -61,9 +61,9 @@ task :generate do
|
|||||||
end
|
end
|
||||||
|
|
||||||
Rake::Minify.new(:minify_and_combine) do
|
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}"
|
puts "BEGIN Minifying #{output_file}"
|
||||||
group(output_file) do
|
group(output_file) do
|
||||||
|
Loading…
Reference in New Issue
Block a user