From 15443601a6f9f907cb27327a8867b8dd8e7fd358 Mon Sep 17 00:00:00 2001 From: Nigel Date: Thu, 1 Sep 2022 16:13:58 +0200 Subject: [PATCH] Adding dev-scripts (Without much content) .. this can later help setting up the projects on other pc's. --- scripts/dev-setup/install.sh | 3 +++ scripts/hooks/pre-commit.hook.sh | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 scripts/dev-setup/install.sh create mode 100644 scripts/hooks/pre-commit.hook.sh diff --git a/scripts/dev-setup/install.sh b/scripts/dev-setup/install.sh new file mode 100644 index 0000000..9da7639 --- /dev/null +++ b/scripts/dev-setup/install.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +cmake -DLLVM_ENABLE_PROJECTS="clang-tools-extra" -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm \ No newline at end of file diff --git a/scripts/hooks/pre-commit.hook.sh b/scripts/hooks/pre-commit.hook.sh new file mode 100644 index 0000000..8a905bf --- /dev/null +++ b/scripts/hooks/pre-commit.hook.sh @@ -0,0 +1,5 @@ +#!/bin/bash + + +# Run clang-tidy +