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

Generate Spin build task as the default build task #7

Open
itowlson opened this issue Jun 9, 2022 · 3 comments
Open

Generate Spin build task as the default build task #7

itowlson opened this issue Jun 9, 2022 · 3 comments

Comments

@itowlson
Copy link
Collaborator

itowlson commented Jun 9, 2022

{
	"type": "spin",
	"command": "build",
	"options": [],
	"problemMatcher": [],
	"label": "spin: build",
	"group": {
		"kind": "build",
		"isDefault": true
	}
}
@itowlson
Copy link
Collaborator Author

itowlson commented Jun 9, 2022

Hmm, I think I can add the group but I don't know if I can make it the default:

image

@itowlson
Copy link
Collaborator Author

itowlson commented Jun 9, 2022

It works if the user runs the Configure Default Build Task command, but then the prompt shows both build and up even though only build is defined as TaskGroup.Build...

@itowlson
Copy link
Collaborator Author

itowlson commented Jun 9, 2022

This seems like it could be something we could preset in the templates, so they came with default build and test tasks that hooked into the extension...

@itowlson itowlson mentioned this issue Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant