Skip to content

Commit

Permalink
Always enable assertions when running rake targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Feb 12, 2019
1 parent 6ad0355 commit 21e4663
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rakelib/helpers.rb
@@ -1,5 +1,8 @@
Object.const_set(:BASE_DIR, Dir.pwd)

# Everything run by JRuby in Rake should have assertions enabled.
ENV['JRUBY_OPTS'] = "#{ENV['JRUBY_OPTS']} -J-ea"

def load_build_properties_into_constants
constant_names = []
IO.readlines("default.build.properties").each do |line|
Expand Down

0 comments on commit 21e4663

Please sign in to comment.