Merge pull request #167 from Shivansh-007/package/lolcode-0.11.2

pkg(lolcode-0.11.2): Add lolcode 0.11.2
This commit is contained in:
Thomas 2021-03-19 13:38:08 +13:00 committed by GitHub
commit a7a79dbb30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 0 deletions

15
packages/lolcode/0.11.2/build.sh vendored Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
PREFIX=$(realpath $(dirname $0))
# Cloning lolcode source
git clone https://github.com/justinmeza/lci.git lolcode
cd lolcode
# Building and installing lolcode
cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" .
make -j$(nproc)
make install -j$(nproc)
# Cleaning up
cd ../ && rm -rf lolcode

4
packages/lolcode/0.11.2/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

6
packages/lolcode/0.11.2/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "lolcode",
"version": "0.11.2",
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
"aliases": ["lol", "lci"]
}

4
packages/lolcode/0.11.2/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
lci "$@"

4
packages/lolcode/0.11.2/test.lol vendored Normal file
View File

@ -0,0 +1,4 @@
HAI 1.2
CAN HAS STDIO?
VISIBLE "OK"
KTHXBYE