Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build in vscode use tasks #24965

Open
Antecer opened this issue Feb 28, 2025 · 1 comment
Open

How to build in vscode use tasks #24965

Antecer opened this issue Feb 28, 2025 · 1 comment

Comments

@Antecer
Copy link

Antecer commented Feb 28, 2025

Issue Description

here is my tasks.json

{
    "version": "2.0.0",
    "inputs": [
        {
            "id": "pickTarget",
            "type": "command",
            "command": "shellCommand.execute",
            "args": {
                "command": "find keyboards -mindepth 3 -maxdepth 5 -type d -path '*/keymaps/*' | powershell -Command \"$input -replace 'keyboards/', '' -replace '/keymaps/', ':'\"",
                "description": "build target"
            }
        }
    ],
    "tasks": [
        {
            "label": "build firmware",
            "type": "shell",
            "command": "make",
            "args": [
                "${input:pickTarget}"
            ],
            "group": "build"
        }
    ]
}

it can auto list keymaps, but when the command run, there just open qmk_msys bash.
make command do not run, and the task will never be finished.

@Antecer
Copy link
Author

Antecer commented Mar 2, 2025

anyone know how to fixed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant