Permalink
Browse files

Merge changes from minimalist

  • Loading branch information...
Tony Arcieri
Tony Arcieri committed Nov 29, 2009
2 parents be02579 + be04808 commit 82c584b36502a7d30e90f77ad83b8d2c499a2cdf
Showing with 3 additions and 10 deletions.
  1. +3 −10 Rakefile
View
@@ -76,17 +76,10 @@ ERL_SRC = (FileList.new('src/{compiler,core}/**/*.erl') + GENERATED_SRC).uniq
QUIET_SRC = %w(src/compiler/reia_parse.erl)
ERL_SRC.each do |input|
- unless QUIET_SRC.include? input
- file output_file(input) => input do
- sh "erlc +debug_info -o ebin #{input}"
- end
- end
-end
-
-# FIXME: LOL this logic is silly, merge above plztks
-QUIET_SRC.each do |input|
file output_file(input) => input do
- sh "erlc -o ebin #{input}"
+ opts = ""
+ opts << "+debug_info" unless QUIET_SRC.include? input
+ sh "erlc #{opts} -o ebin #{input}"
end
end

0 comments on commit 82c584b

Please sign in to comment.