This repository has been archived on 2020-05-10. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon-cpp/build.sh

10 lines
121 B
Bash
Executable File

#!/bin/sh
mkdir -p build && \
cd build/ &&
cmake .. && \
make
if [ "$(basename ${PWD})" == "build" ]; then
cd ..
fi