This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new 'gotests' flags option. (#1841)
* Adding new 'gotests' flags option. gotests has many options not used for vscode by default. This allows similar flags to other tools like lint and build where they are just free formed flags. The one difference here is some arguments have values needed but we are not validating on any specific flags and go with flexibility. The main use case here is the new 'template_dir' flag added to allow users to define custom templates. * Change to Enum since that's the best fit here * Simplify the logic even further * Avoid error from goMain when no active editor * Fix test fails * Avoid duplicate flags * lint fixes
- Loading branch information
1 parent
85646a7
commit eb1279b
Showing
4 changed files
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters