Luna/tools/rebuild.sh

15 lines
186 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-09-06 16:27:24 +00:00
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
tools/setup.sh
cd $BUILD_DIR
$BUILD clean
cd -
cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN"
cmake --build $BUILD_DIR