Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor builder updates

  • Loading branch information...
commit 697e89e68c3193b4322f56e4c21eccbc65f9d2d3 1 parent fd0a8bd
@MadRabbit authored
Showing with 2 additions and 2 deletions.
  1. +2 −1  build/build.rb
  2. +0 −1  lib/front_compiler/java_script.rb
View
3  build/build.rb
@@ -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
View
1  lib/front_compiler/java_script.rb
@@ -18,7 +18,6 @@ def compact!
remove_empty_lines!.
remove_trailing_spaces!
end
- #create_self_build
end
def remove_comments!
Please sign in to comment.
Something went wrong with that request. Please try again.