Allow COMPILE_MODE to be changed from ENV

This commit is contained in:
Davide D'Agostino
2012-12-20 22:51:07 -08:00
parent e48ed9c964
commit d34c4c45f5
+1 -1
View File
@@ -18,7 +18,7 @@ ENABLE_GEMS = ENV['ENABLE_GEMS'] == 'true'
ACTIVE_GEMS = File.join(File.dirname(__FILE__), 'mrbgems', 'GEMS.active')
# default compile option
COMPILE_MODE = :debug
COMPILE_MODE = ENV['COMPILE_MODE'] || :debug
##############################