mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
pkg(cow-1.0.0): Add cow 1.0.0 (#188)
Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
This commit is contained in:
parent
4776700a1b
commit
eae11d6025
5 changed files with 26 additions and 0 deletions
12
packages/cow/1.0.0/build.sh
vendored
Executable file
12
packages/cow/1.0.0/build.sh
vendored
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Grab the latest cow source from github
|
||||
git clone -q https://github.com/BigZaphod/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
|
Loading…
Add table
Add a link
Reference in a new issue