• Cristian Maglie's avatar
    [skip-changelog] Some small refactoring on legacy package (#1064) · df9f204f
    Cristian Maglie authored
    * legacy: output --preprocess result on ExecStdout
    
    * legacy: removed redundant argument filters
    
    * legacy: moving path-relativization code out of PrepareCommand
    
    * legacy: removed i18n on unneded message
    
    * legacy: replacing ParseCommandLine with the equivalent library call
    
    * legacy: removed parameter that happens to be always false
    
    * legacy: removed constants.MSG_PATTERN_MISSING from i18n
    
    * Let ExecRecipe return the command executed
    
    This prepares for building a compilation database later. The returned
    command is not currently used anywhere yet, so this commit should not
    change behaviour.
    
    * Fixed typo
    Co-authored-by: default avatarMatthijs Kooijman <matthijs@stdin.nl>
    df9f204f
constants.go 8.74 KB