mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
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
5 changed files with 33 additions and 0 deletions
15
packages/lolcode/0.11.2/build.sh
vendored
Executable file
15
packages/lolcode/0.11.2/build.sh
vendored
Executable 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
4
packages/lolcode/0.11.2/environment
vendored
Normal 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
6
packages/lolcode/0.11.2/metadata.json
vendored
Normal 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
4
packages/lolcode/0.11.2/run
vendored
Normal 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
4
packages/lolcode/0.11.2/test.lol
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
HAI 1.2
|
||||
CAN HAS STDIO?
|
||||
VISIBLE "OK"
|
||||
KTHXBYE
|
Loading…
Add table
Add a link
Reference in a new issue