mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +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
|
2
packages/cow/1.0.0/environment
vendored
Normal file
2
packages/cow/1.0.0/environment
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
export PATH=$PWD/bin:$PATH
|
6
packages/cow/1.0.0/metadata.json
vendored
Normal file
6
packages/cow/1.0.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "cow",
|
||||
"version": "1.0.0",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["cow"]
|
||||
}
|
2
packages/cow/1.0.0/run
vendored
Normal file
2
packages/cow/1.0.0/run
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
cow "$@"
|
4
packages/cow/1.0.0/test.cow
vendored
Normal file
4
packages/cow/1.0.0/test.cow
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
MoO MoO MoO MoO MoO MoO MoO MoO
|
||||
MOO moO MoO MoO MoO MoO MoO MoO MoO MoO MoO mOo MOo moo
|
||||
moO MoO MoO MoO MoO MoO MoO MoO Moo
|
||||
MOo MOo MOo MOo Moo
|
Loading…
Add table
Add a link
Reference in a new issue