diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..1fbdc52 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile +{ + "name": "Existing Dockerfile", + "build": { + // Sets the run context to one level up instead of the .devcontainer folder. + "context": "..", + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. + "dockerfile": "../Dockerfile-dev" + }, + "features": { + "ghcr.io/devcontainers/features/rust:1": { + "version": "1.76", + "profile": "complete", + "targets": "aarch64-unknown-linux-gnu" + } + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Uncomment the next line to run commands after the container is created. + // "postCreateCommand": "cat /etc/os-release", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "devcontainer" +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f33a02c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly diff --git a/Dockerfile-dev b/Dockerfile-dev new file mode 100644 index 0000000..f58489c --- /dev/null +++ b/Dockerfile-dev @@ -0,0 +1,6 @@ +FROM ubuntu:24.04 + +RUN apt update +RUN apt install -y curl python3 + +COPY scripts /usr/local/bin \ No newline at end of file diff --git a/scripts/comment-check b/scripts/comment-check index cbbe2a5..f21b8b4 100755 --- a/scripts/comment-check +++ b/scripts/comment-check @@ -1,3 +1,3 @@ #!/bin/bash -python scripts/py/check_comment.py \ No newline at end of file +python3 scripts/py/check_comment.py \ No newline at end of file diff --git a/scripts/tpyd b/scripts/tpyd new file mode 100755 index 0000000..e82d730 --- /dev/null +++ b/scripts/tpyd @@ -0,0 +1,4 @@ +#!/bin/bash + +cargo run $* --dev +