diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-25 16:43:10 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-25 16:43:10 +0200 |
commit | 10b5caed980eea277603c5a8aab26963445eb9a6 (patch) | |
tree | 0293c0d25bb2a5c7ec25eb96d7466180533047b5 /.local/share/bin/makec | |
parent | 6ea7f3a91f069917a03c28d5d006cbed15e0b03f (diff) |
replace makec with mk script
Diffstat (limited to '.local/share/bin/makec')
-rwxr-xr-x | .local/share/bin/makec | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.local/share/bin/makec b/.local/share/bin/makec deleted file mode 100755 index e89ced1..0000000 --- a/.local/share/bin/makec +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# mini wrapper around CMake + Ninja to build in one command - -BUILD_DIR="build" -CMAKE="cmake --fresh --log-level WARNING -Wno-deprecated" - -if [ ! -e "$BUILD_DIR/build.ninja" ] || - [ "CMakeLists.txt" -nt "$BUILD_DIR/build.ninja" ] ; then - $CMAKE -B "$BUILD_DIR" -G Ninja -fi - -if [ "$*" = "clean" ] ; then - rm -rf "$BUILD_DIR" - exit 0 -fi - -exec ninja -C "$BUILD_DIR" "$@" - |