mirror of
https://github.com/o2sh/onefetch
synced 2024-06-28 13:44:36 +00:00
Add devcontainer/codespace config (#857)
* Add devcontainer/codespace config
* Fix devcontainer source
* Add note
* Install cmake to devcontainer
Required by libz-sys
* Run `apt update` first
* Run apt commands in sudo mode
* Use `-y` flag
🤦
* Exclude assets from VSCode search
This commit is contained in:
parent
9262f13253
commit
944ce50bd2
4
.devcontainer/Dockerfile
Normal file
4
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
# NOTE: see https://hub.docker.com/_/microsoft-vscode-devcontainers
|
||||
ARG VARIANT="buster"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT}
|
||||
RUN sudo apt update && sudo apt install -y cmake
|
9
.devcontainer/devcontainer.json
Normal file
9
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "Rust",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": { "VARIANT": "buster" }
|
||||
},
|
||||
"extensions": ["EditorConfig.EditorConfig"],
|
||||
"remoteUser": "vscode"
|
||||
}
|
|
@ -13,3 +13,7 @@ indent_size = 2
|
|||
|
||||
[{Makefile,.SRCINFO}]
|
||||
indent_style = tab
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"search.exclude": {
|
||||
"**/node_modules": false,
|
||||
"**/target": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user