mirror of
https://github.com/engineer-man/piston.git
synced 2025-07-11 08:18:45 +02:00
18 lines
332 B
Bash
18 lines
332 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Put instructions to build your package in here
|
|
PREFIX=$(realpath $(dirname $0))
|
|
|
|
mkdir -p build
|
|
|
|
git clone https://github.com/fabianishere/brainfuck.git
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX/ -DENABLE_EDITLINE=OFF ../brainfuck
|
|
|
|
make -j$(nproc)
|
|
make install -j$(nproc)
|
|
|
|
cd ../
|
|
rm -rf build brainfuck
|