Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 8b7c9ba

Browse files
authored
Merge pull request #20 from Gankarloo/switch-to-broadcom-links
Add specs for api versions 39.0+
2 parents f7d7899 + c22fd18 commit 8b7c9ba

File tree

10 files changed

+159355
-21
lines changed

10 files changed

+159355
-21
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM fedora:42
2+
LABEL dev.containers.features="fedora"
3+
4+
RUN dnf install -y git jq yq bash-completion wget2 \
5+
&& dnf clean all \
6+
&& rm -rf /var/cache/dnf

.devcontainer/devcontainer.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
3+
{
4+
"name": "Rust",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"build": {
7+
"dockerfile": "./Dockerfile",
8+
"context": "."
9+
},
10+
"features": {
11+
"ghcr.io/devcontainers/features/rust": "latest",
12+
"ghcr.io/devcontainers/features/common-utils:2": {
13+
"username": "vscode",
14+
"userUid": "1000",
15+
"userGid": "1000",
16+
"upgradePackages": "true"
17+
},
18+
"ghcr.io/lukewiwa/features/shellcheck": "stable"
19+
},
20+
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
21+
// "mounts": [
22+
// {
23+
// "source": "devcontainer-cargo-cache-${devcontainerId}",
24+
// "target": "/usr/local/cargo",
25+
// "type": "volume"
26+
// }
27+
// ]
28+
// Features to add to the dev container. More info: https://containers.dev/features.
29+
// "features": {},
30+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
31+
// "forwardPorts": [],
32+
// Use 'postCreateCommand' to run commands after the container is created.
33+
// "postCreateCommand": "sudo apt -y install wget2"
34+
// Configure tool-specific properties.
35+
// "customizations": {},
36+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37+
"remoteUser": "vscode"
38+
}

.vscode/launch.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Cargo launch",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--lib"
15+
]
16+
},
17+
"args": []
18+
},
19+
{
20+
"type": "lldb",
21+
"request": "launch",
22+
"name": "Cargo launch",
23+
"cargo": {
24+
"env": {
25+
"RUST_LOG": "transformer=debug"
26+
},
27+
"args": [
28+
"run",
29+
"--release"
30+
]
31+
},
32+
"args": [
33+
"website/39.0.zip"
34+
],
35+
"cwd": "${workspaceFolder}/tranformer"
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)