mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-12-15 02:10:30 +08:00
8 lines
208 B
Bash
Executable File
8 lines
208 B
Bash
Executable File
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 |