Skip to content

Commit

Permalink
fixed a bug in file naming / the distro.
Browse files Browse the repository at this point in the history
  • Loading branch information
jejacks0n committed Sep 12, 2012
1 parent 45dbb1e commit c15ec51
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -56,7 +56,7 @@ namespace :resourcy do
Dir[Resourcy::Engine.root.join('distro/build', base)].each do |filename|
copy_file(filename, Resourcy::Engine.root.join("distro/#{base.gsub(/\*/, '')}"))
minified = Uglifier.compile(File.read(filename))
File.open(Resourcy::Engine.root.join("distro/#{base.gsub(/\*/, '.min')}.js"), 'w') do |file|
File.open(Resourcy::Engine.root.join("distro/#{base.gsub(/\*/, '.min')}"), 'w') do |file|
file.write(minified)
end
remove(filename)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c15ec51

Please sign in to comment.