Skip to content

Commit

Permalink
Merge pull request #7 from hammer-corp/master
Browse files Browse the repository at this point in the history
make compilation an environmental flag, not the default
  • Loading branch information
carakan committed Jul 25, 2017
2 parents dea7e06 + 93382e4 commit a9b8bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pronto/credo_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(_, _)
def run
return [] unless @patches

compile
compile if ENV["PRONTO_CREDO_COMPILE"] == 1

@patches.select { |p| p.additions > 0 }
.select { |p| elixir_file?(p.new_file_full_path) }
Expand Down

0 comments on commit a9b8bce

Please sign in to comment.