mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
forked the original repo by BigZaphod and fixed the slurping issue when reading stdin for the Moo and oom commands
12 lines
271 B
Bash
Executable file
12 lines
271 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Grab the latest cow source from github
|
|
git clone -q https://github.com/Hydrazer/COW.git cow
|
|
|
|
# Generate the cow binary into bin
|
|
mkdir -p bin
|
|
sed -i '1i#define NO_GREETINGS' cow/source/cow.cpp
|
|
g++ -o bin/cow cow/source/cow.cpp
|
|
|
|
# Cleanup
|
|
rm -rf cow
|