From 92dd9b38eed9cb62abe574c1048b5a3163099597 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sat, 21 Oct 2023 21:35:14 +0200 Subject: [PATCH] chore: add bootstrap, build and test scripts --- bootstrap.sh | 3 +++ build.sh | 3 +++ test.sh | 3 +++ 3 files changed, 9 insertions(+) create mode 100755 bootstrap.sh create mode 100755 build.sh create mode 100755 test.sh diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..abf65d4 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +cmake -S . -B build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6479e4f --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +cmake --build build diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..dd1e614 --- /dev/null +++ b/test.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +cmake --build build && cmake --build build --target test