Add choco_install rule (#998)
* Add choco_install rule Adds a rule to append '.install' to a chocolatey install command that failed because of a non-existent package. TODO: add support for other suffixes (.portable), find more parameter cases * Apply suggestions from code review Circling back to retest Co-Authored-By: Pablo Aguiar <scorphus@gmail.com> * Fixed errors from suggested changes * Added more test cases, refactored parsing * Reformat keyword detection if statement * Fixed flake errors * Added tests for match
This commit is contained in:
committed by
Vladimir Iakovlev
parent
fdea32b47d
commit
d10fc80fa5
@@ -182,6 +182,7 @@ following rules are enabled by default:
|
||||
* `cd_mkdir` – creates directories before cd'ing into them;
|
||||
* `cd_parent` – changes `cd..` to `cd ..`;
|
||||
* `chmod_x` – add execution bit;
|
||||
* `choco_install` – append common suffixes for chocolatey packages;
|
||||
* `composer_not_command` – fixes composer command name;
|
||||
* `cp_omitting_directory` – adds `-a` when you `cp` directory;
|
||||
* `cpp11` – adds missing `-std=c++11` to `g++` or `clang++`;
|
||||
|
||||
Reference in New Issue
Block a user