diff --git a/.github/label-pr.yml b/.github/label-pr.yml index af4c657..089ebe6 100644 --- a/.github/label-pr.yml +++ b/.github/label-pr.yml @@ -1,46 +1,46 @@ # Programming language specific -- regExp: ".*\\.rs+$" +- regExp: '.*\.rs' labels: ["rustlang"] -- regExp: ".*\\.py+$" +- regExp: '.*\\.py' labels: ["python"] -- regExp: ".*\\.c+$" +- regExp: '.*\.c' labels: ["c-lang"] -- regExp: ".*\\.cpp+$" +- regExp: '.*\.cpp' labels: ["CPP"] -- regExp: ".*\\.sh+$" +- regExp: '.*\.sh' labels: ["shell"] -- regExp: ".*\\.bash+$" +- regExp: '.*\.bash' labels: ["bash"] -- regExp: ".*\\.br+$" +- regExp: '.*\.br' labels: ["brainfuck"] -- regExp: ".*\\.jar+$" +- regExp: '.*\.jar' labels: ["java"] -- regExp: ".*\\.v+$" +- regExp: '.*\.v' labels: ["vlang"] -- regExp: ".*\\.cs+$" +- regExp: '.*\.cs' labels: ["csharp"] -- regExp: ".*tests.*" +- regExp: '^/tests/.*' labels: ["tests"] -- regExp: "benches" +- regExp: '^/benches/.*' labels: ["benches"] -- regExp: "LICENSE.md" +- regExp: '^LICENSE\.md' labels: ["license"] -- regExp: "^(.*\\Cargo.toml\\requirements.txt)$" +- regExp: '^(Cargo\.toml|requirements\.txt)' labels: ["dependencies"] # Repository specific -- regExp: ".*docs.*" +- regExp: '^/docs/.*' labels: ["docs"] \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index 5ab9196..33276b9 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -9,4 +9,5 @@ vscode: - hbenl.vscode-test-explorer@2.15.0:koqDUMWDPJzELp/hdS/lWw== - belfz.search-crates-io@1.2.1:kSLnyrOhXtYPjQpKnMr4eQ== - serayuzgur.crates@0.4.7:HMkoguLcXp9M3ud7ac3eIw== - - timonwong.shellcheck@0.9.0:hsU/Rd39aqPYowTqL+DbXg== \ No newline at end of file + - timonwong.shellcheck@0.9.0:hsU/Rd39aqPYowTqL+DbXg== + - krosf.vscode-valgrind@0.0.1:YTn5lOY8OnPKJYDqJPr/Sg== \ No newline at end of file diff --git a/gitpod/gitpod.Dockerfile b/gitpod/gitpod.Dockerfile index 4cd94f6..ec06af6 100644 --- a/gitpod/gitpod.Dockerfile +++ b/gitpod/gitpod.Dockerfile @@ -13,7 +13,7 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && apt-get upgrade -y \ && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \ && apt dist-upgrade -y \ - && apt-get install -y clang shellcheck docker-ce docker-ce-cli containerd.io firefox tree xclip umbrello gnuplot \ + && apt-get install -y clang valgrind shellcheck docker-ce docker-ce-cli containerd.io firefox tree xclip umbrello gnuplot \ && rm -rf /var/lib/apt/lists/* \ && apt autoremove -y diff --git a/src/bin/main.c b/src/bin/main.c index 166106f..6d24472 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -1,12 +1,12 @@ #include +#include // FIXME: Does not build on clang -// FIXME-QA: Outputs warnings +// FIXME-TEST: Adapt valgrind -int main(int argc, char ** argv[]) { +int main(int argc, char **argv) { if(argc < 2) { - // FIXME: Add better help message - // FIXME: Source from po depending on language used + // FIXME: Source better help message from po depending on language used printf("%s\n", "Argument(s) required, use -h for display help"); return 2; } else if(strcmp(argv[1], "-h") == 0) {