-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add {resolve|build|clean|install|rebuild} tasks support
Fixes: #66
- Loading branch information
1 parent
b7416b7
commit 634ba43
Showing
11 changed files
with
521 additions
and
23 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
# Resolve with Qbs tools tasks | ||
|
||
You can create a resolve task from the VS Code command pallette by running the **Tasks: Configure task** command. | ||
|
||
![Configure a task](images/qbs-configure-task.png) | ||
|
||
By selecting "Qbs: Resolve" template this task will be generated in `tasks.json` file: | ||
|
||
```json | ||
{ | ||
"type": "qbs", | ||
"label": "Qbs: Resolve", | ||
"command": "resolve", | ||
"problemMatcher": [], | ||
"detail": "Qbs template Resolve task" | ||
} | ||
``` | ||
|
||
**Note**: You can change the `label` and the `detail` properties as you want. | ||
|
||
# Build with Qbs tools tasks | ||
|
||
You can create a build task from the VS Code command pallette by running the **Tasks: Configure task** command. | ||
|
||
By selecting "Qbs: Build" template this task will be generated in `tasks.json` file: | ||
|
||
```json | ||
{ | ||
"type": "qbs", | ||
"label": "Qbs: Build", | ||
"command": "build", | ||
"products": [ | ||
"current_product_name" | ||
], | ||
"group": "build", | ||
"problemMatcher": [], | ||
"detail": "Qbs template Build task" | ||
} | ||
``` | ||
|
||
**Note**: The `products` property will be automatically filled with the current build product selected | ||
from the status bar. | ||
|
||
**Note**: The empty `products` property as `[]` means that all products will be build. | ||
|
||
**Note**: You can change the `label`, `detail`, and `products` properties as you want. | ||
|
||
# Clean with Qbs tools tasks | ||
|
||
You can create a clean task from the VS Code command pallette by running the **Tasks: Configure task** command. | ||
|
||
By selecting "Qbs: Clean" template this task will be generated in `tasks.json` file: | ||
|
||
```json | ||
{ | ||
"type": "qbs", | ||
"label": "Qbs: Clean", | ||
"command": "clean", | ||
"products": [ | ||
"current_product_name" | ||
], | ||
"group": "clean", | ||
"problemMatcher": [], | ||
"detail": "Qbs template Clean task" | ||
} | ||
``` | ||
|
||
**Note**: The `products` property will be automatically filled with the current build product selected | ||
from the status bar. | ||
|
||
**Note**: The empty `products` property as `[]` means that all products will be cleaned. | ||
|
||
**Note**: You can change the `label`, `detail`, and `products` properties as you want. | ||
|
||
# Install with Qbs tools tasks | ||
|
||
You can create an install task from the VS Code command pallette by running the **Tasks: Configure task** command. | ||
|
||
By selecting "Qbs: Install" template this task will be generated in `tasks.json` file: | ||
|
||
```json | ||
{ | ||
"type": "qbs", | ||
"label": "Qbs: Install", | ||
"command": "install", | ||
"products": [ | ||
"current_product_name" | ||
], | ||
"problemMatcher": [], | ||
"detail": "Qbs template Install task" | ||
} | ||
``` | ||
|
||
**Note**: The `products` property will be automatically filled with the current build product selected | ||
from the status bar. | ||
|
||
**Note**: The empty `products` property as `[]` means that all products will be installed. | ||
|
||
**Note**: You can change the `label`, `detail`, and `products` properties as you want. | ||
|
||
# Rebuild with Qbs tools tasks | ||
|
||
You can create a rebuild task from the VS Code command pallette by running the **Tasks: Configure task** command. | ||
|
||
By selecting "Qbs: Rebuild" template this task will be generated in `tasks.json` file: | ||
|
||
```json | ||
{ | ||
"type": "qbs", | ||
"label": "Qbs: Rebuild", | ||
"command": "rebuild", | ||
"products": [ | ||
"current_product_name" | ||
], | ||
"group": "rebuild", | ||
"problemMatcher": [], | ||
"detail": "Qbs template Rebuild task" | ||
} | ||
``` | ||
|
||
**Note**: The `products` property will be automatically filled with the current build product selected | ||
from the status bar. | ||
|
||
**Note**: The empty `products` property as `[]` means that all products will be rebuild. | ||
|
||
**Note**: You can change the `label`, `detail`, and `products` properties as you want. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"qbs.taskprovider.build.command": "Собрать", | ||
"qbs.taskprovider.clean.command": "Очистить", | ||
"qbs.taskprovider.command.not.recognized": "{0} не распознанная команда.", | ||
"qbs.taskprovider.install.command": "Установить", | ||
"qbs.taskprovider.rebuild.command": "Пересобрать", | ||
"qbs.taskprovider.resolve.command": "Сканировать", | ||
"qbs.taskprovider.template.task": "Задача шаблона Qbs {0}" | ||
} |
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
Oops, something went wrong.