mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Added a list of extensions to pre-install in Codespaces. Improved the readability of the configuration
This commit is contained in:
parent
801c737e1b
commit
0836cdfbee
@ -1,9 +1,38 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
{
|
||||
"name": "Homebrew/brew",
|
||||
"image": "ghcr.io/homebrew/brew:latest",
|
||||
|
||||
"workspaceFolder": "/home/linuxbrew/.linuxbrew/Homebrew",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/linuxbrew/.linuxbrew/Homebrew,type=bind,consistency=cached",
|
||||
|
||||
"onCreateCommand": ".devcontainer/on-create-command.sh",
|
||||
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
// Turns off the display of CPU and battery frequency (because it's useless)
|
||||
// This setting is only required for GitHub Codespaces
|
||||
"resmon.show.battery": false,
|
||||
"resmon.show.cpufreq": false
|
||||
},
|
||||
|
||||
// Installing all necessary extensions for vscode
|
||||
// Taken from: .vscode/extensions.json
|
||||
"extensions": [
|
||||
"kaiwood.endwise",
|
||||
"lorankloeze.ruby-rubocop-revived",
|
||||
"rebornix.ruby",
|
||||
"sorbet.sorbet-vscode-extension",
|
||||
"github.vscode-github-actions",
|
||||
"timonwong.shellcheck",
|
||||
"foxundermoon.shell-format",
|
||||
"davidanson.vscode-markdownlint",
|
||||
"editorconfig.editorconfig"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"remoteEnv": {
|
||||
"HOMEBREW_GITHUB_API_TOKEN": "${localEnv:GITHUB_TOKEN}"
|
||||
}
|
||||
|
@ -1,9 +1,38 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
{
|
||||
"name": "Homebrew/brew-ubuntu18.04",
|
||||
"image": "ghcr.io/homebrew/ubuntu18.04:latest",
|
||||
|
||||
"workspaceFolder": "/home/linuxbrew/.linuxbrew/Homebrew",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/linuxbrew/.linuxbrew/Homebrew,type=bind,consistency=cached",
|
||||
|
||||
"onCreateCommand": ".devcontainer/on-create-command.sh",
|
||||
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
// Turns off the display of CPU and battery frequency (because it's useless)
|
||||
// This setting is only required for GitHub Codespaces
|
||||
"resmon.show.battery": false,
|
||||
"resmon.show.cpufreq": false
|
||||
},
|
||||
|
||||
// Installing all necessary extensions for vscode
|
||||
// Taken from: .vscode/extensions.json
|
||||
"extensions": [
|
||||
"kaiwood.endwise",
|
||||
"lorankloeze.ruby-rubocop-revived",
|
||||
"rebornix.ruby",
|
||||
"sorbet.sorbet-vscode-extension",
|
||||
"github.vscode-github-actions",
|
||||
"timonwong.shellcheck",
|
||||
"foxundermoon.shell-format",
|
||||
"davidanson.vscode-markdownlint",
|
||||
"editorconfig.editorconfig"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"remoteEnv": {
|
||||
"HOMEBREW_GITHUB_API_TOKEN": "${localEnv:GITHUB_TOKEN}"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user