Permalink
Browse files

minor builder updates

  • Loading branch information...
1 parent fd0a8bd commit 697e89e68c3193b4322f56e4c21eccbc65f9d2d3 @MadRabbit committed Apr 25, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −1 build/build.rb
  2. +0 −1 lib/front_compiler/java_script.rb
View
@@ -12,7 +12,8 @@
unless %w{. ..}.include?(file)
puts "Compacting #{file}"
File.open(File.dirname(__FILE__)+"/out/#{file}", "w") do |f|
- f.write @c.compact_file(File.dirname(__FILE__)+"/in/#{file}")
+ src = @c.compact_file(File.dirname(__FILE__)+"/in/#{file}")
+ f.write file.slice(file.size-3, file.size) == '.js' ? src.create_self_build : src
end
end
end
@@ -18,7 +18,6 @@ def compact!
remove_empty_lines!.
remove_trailing_spaces!
end
- #create_self_build
end
def remove_comments!

0 comments on commit 697e89e

Please sign in to comment.