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:
Dan Vargas 2021-03-24 15:39:17 -05:00 committed by GitHub
parent 4776700a1b
commit eae11d6025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 0 deletions

12
packages/cow/1.0.0/build.sh vendored Executable file
View 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
View 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
View 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
View File

@ -0,0 +1,2 @@
#!/bin/bash
cow "$@"

4
packages/cow/1.0.0/test.cow vendored Normal file
View 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