techthoughts2 / Catesta

Catesta is a PowerShell module and vault project generator. It uses templates to rapidly scaffold test and build integration for a variety of CI/CD platforms.
https://www.catesta.dev/
MIT License
169 stars 20 forks source link

Remove hard-coded Catesta in VSCode Tasks file #34

Closed TsekNet closed 4 years ago

TsekNet commented 4 years ago

Pull Request

Issue

Catesta is hard-coded in VSCode tasks file. This makes VSCode tasks (tests, analyze, etc.) work great for Catesta, but not any other modules.

Issue #, if available:

Description

Description of changes:

Use ${workspaceFolderBasename} variable with the assumption that the root folder is the same name as the module (this is the default when creating a new module using Catesta).

See https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables-examples for variable reference.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.