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:
commit
a7a79dbb30
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "lolcode",
|
||||
"version": "0.11.2",
|
||||
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
|
||||
"aliases": ["lol", "lci"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
lci "$@"
|
|
@ -0,0 +1,4 @@
|
|||
HAI 1.2
|
||||
CAN HAS STDIO?
|
||||
VISIBLE "OK"
|
||||
KTHXBYE
|
Loading…
Reference in New Issue