Skip to content

Commit c985211

Browse files
committed
Add devcontainer integration
Signed-off-by: Tim Crawford <tcrawford@system76.com>
1 parent 206165c commit c985211

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "System76 EC",
3+
"build": {
4+
"dockerfile": "../tools/containers/ec/Containerfile"
5+
},
6+
"customizations": {
7+
"vscode": {
8+
"settings": {},
9+
"extensions": [
10+
"EditorConfig.EditorConfig",
11+
"rust-lang.rust-analyzer"
12+
]
13+
}
14+
}
15+
}

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ trim_trailing_whitespace = false
1616
[{Makefile,*.mk}]
1717
indent_style = tab
1818

19-
[*.yml]
19+
[*.{json,yaml,yml}]
2020
indent_size = 2

tools/containers/ec/Containerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ RUN apt-get --quiet update \
104104
# a comma separated list as an argument with a space.
105105
# Ref: https://github.com/rust-lang/rustup/issues/4073
106106
RUN rustup toolchain install \
107-
--no-self-update \
108107
--target x86_64-unknown-linux-gnu,x86_64-unknown-uefi \
109108
--profile minimal \
110109
--component=clippy,rustfmt \

0 commit comments

Comments
 (0)