Skip to content

Commit c9c4b5b

Browse files
committed
Update from existing repos
1 parent 812cc54 commit c9c4b5b

File tree

6 files changed

+61
-7
lines changed

6 files changed

+61
-7
lines changed

.cspell.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"useGitignore": true,
55
"ignorePaths": [
66
".cspell.json",
7+
".devcontainer/",
78
".github/",
89
".vscode/",
910
"rust-toolchain.toml"
@@ -13,12 +14,31 @@
1314
"rustlang",
1415
"rustup"
1516
],
17+
"dictionaryDefinitions": [
18+
{
19+
"name": "crates",
20+
"words": [],
21+
"noSuggest": true
22+
}
23+
],
1624
"overrides": [
25+
{
26+
"filename": "Cargo.toml",
27+
"dictionaries": [
28+
"crates"
29+
]
30+
},
1731
{
1832
"filename": "**/*.md",
1933
"dictionaries": [
2034
"rust"
2135
]
36+
},
37+
{
38+
"filename": "**/*.rs",
39+
"dictionaries": [
40+
"crates"
41+
]
2242
}
2343
]
24-
}
44+
}

.devcontainer/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM mcr.microsoft.com/devcontainers/rust:1-1-bullseye
2+
RUN apt-get update \
3+
&& export DEBIAN_FRONTEND=noninteractive \
4+
&& apt-get -y install --no-install-recommends \
5+
git \
6+
xsltproc \
7+
# Clean up
8+
&& apt-get autoremove -y \
9+
&& apt-get clean - \
10+
&& rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
2-
"name": "Rust",
3-
"image": "mcr.microsoft.com/devcontainers/rust:1-buster",
2+
"name": "ordinal-rs",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"features": {
7+
"ghcr.io/devcontainers/features/github-cli:1": {}
8+
},
49
"customizations": {
510
"vscode": {
611
"extensions": [
@@ -11,5 +16,6 @@
1116
"vadimcn.vscode-lldb"
1217
]
1318
}
14-
}
15-
}
19+
},
20+
"onCreateCommand": "rustup show"
21+
}

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
- name: Check formatting
6969
if: ${{ success() && (!inputs.release || github.event_name != 'workflow_call') }}
7070
run: cargo fmt --all -- --check
71-
- name: Test
72-
run: cargo test --all-features --workspace
7371
- name: Lint
7472
run: cargo clippy --all-features --all-targets --no-deps --workspace
7573
- name: Check spelling

.helix/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[editor]
2+
insert-final-newline = true

.helix/languages.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[language-server.rust-analyzer.config]
2+
cargo.features = "all"
3+
check.command = "clippy"
4+
checkOnSave.enable = true
5+
6+
[[language]]
7+
name = "json"
8+
auto-format = true
9+
indent = { tab-width = 2, unit = " " }
10+
11+
[[language]]
12+
name = "rust"
13+
auto-format = true
14+
15+
[[language]]
16+
name = "toml"
17+
auto-format = true
18+
indent = { tab-width = 4, unit = " " }

0 commit comments

Comments
 (0)