• Greg Spencer's avatar
    Make sample analyzer more friendly for running locally. (#27648) · bcd60fa8
    Greg Spencer authored
    Now the sample analyzer can be run locally with:
    
    dart dev/bots/analyze-sample-code.dart --temp=/tmp/samples
    
    And it leaves /tmp/samples around so you can take a look at the code that was generated to see if it's the artificial environment that the samples are evaluated in that is the culprit for a failed analysis.
    
    Before, you had to specify the whole path to the dart executable, and had to modify the code to keep the tempdir around.
    bcd60fa8
analyze-sample-code.dart 33.4 KB