mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 08:34:11 -08:00
8 lines
208 B
Bash
8 lines
208 B
Bash
|
SOURCE_DIR=$(pwd)
|
||
|
BUILD_DIR=$SOURCE_DIR/build
|
||
|
mkdir -p $BUILD_DIR
|
||
|
pushd $BUILD_DIR >/dev/null && \
|
||
|
cmake -S $SOURCE_DIR -B . >/dev/null && \
|
||
|
make --quiet >/dev/null && \
|
||
|
popd >/dev/null && \
|
||
|
rm -rf $BUILD_DIR
|