2021-03-18 08:18:28 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
PREFIX=$(realpath $(dirname $0))
|
|
|
|
|
|
|
|
# Cloning lolcode source
|
|
|
|
git clone https://github.com/justinmeza/lci.git lolcode
|
|
|
|
cd lolcode
|
|
|
|
|
|
|
|
# Building and installing lolcode
|
2021-03-18 23:25:25 +01:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" .
|
|
|
|
make -j$(nproc)
|
|
|
|
make install -j$(nproc)
|
2021-03-18 08:18:28 +01:00
|
|
|
|
|
|
|
# Cleaning up
|
2021-03-18 23:25:25 +01:00
|
|
|
cd ../ && rm -rf lolcode
|