Skip to content

Commit

Permalink
Added and improved VSCode Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Oct 28, 2024
1 parent 78a7d31 commit 29b6536
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "Python Requirements",
"label": "Install Python Requirements",
"type": "shell",
"command": [
"pip",
Expand All @@ -13,19 +13,19 @@
"requirements.txt"
],
"group": {
"kind": "requirements"
"kind": "none"
},
"problemMatcher": []
},
{
"label": "NPM Requirements",
"label": "Install NPM Requirements",
"type": "shell",
"command": [
"npm",
"install"
],
"group": {
"kind": "requirements"
"kind": "none"
},
"problemMatcher": []
},
Expand All @@ -38,7 +38,7 @@
"NPM Requirements"
],
"group": {
"kind": "requirements"
"kind": "none"
},
"problemMatcher": []
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"_build"
],
"problemMatcher": []
}
},
{
"label": "Build and open",
"type": "shell",
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ This is the documentation for the NewTec Git Work Instructions. You can find the
5. Build the documentation: `sphinx-build doc _build --fail-on-warning`
6. Open the documentation: `_build/index.html`

### Visual Studio Code Tasks

If you are using VSCode, the commands mentioned above are packed into tasks, making it easier for the developer to use.

1. Clone the repository: `git clone https://github.com/NewTec-GmbH/gitWorkInstructions.git`
2. Open the folder with VSCode: `code ./gitWorkInstructions`
3. On the top menu, choose `Terminal` -> `Run Task...` and select the task you require.

#### Available Tasks

* Install Python Requirements
* Install NPM Requirements
* Install all requirements
* Build
* Clean
* Build and open

## Used Libraries

Used 3rd party libraries which are not part of the standard Python package:
Expand Down

0 comments on commit 29b6536

Please sign in to comment.