From 7744eea4595eb26c13128bca276846d1f634c6cb Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Thu, 18 Mar 2021 12:48:28 +0530 Subject: [PATCH] pkg(lolcode-0.11.2): Add lolcode 0.11.2 --- packages/lolcode/0.11.2/build.sh | 13 +++++++++++++ packages/lolcode/0.11.2/environment | 4 ++++ packages/lolcode/0.11.2/metadata.json | 6 ++++++ packages/lolcode/0.11.2/run | 4 ++++ packages/lolcode/0.11.2/test.lol | 4 ++++ 5 files changed, 31 insertions(+) create mode 100755 packages/lolcode/0.11.2/build.sh create mode 100644 packages/lolcode/0.11.2/environment create mode 100644 packages/lolcode/0.11.2/metadata.json create mode 100644 packages/lolcode/0.11.2/run create mode 100644 packages/lolcode/0.11.2/test.lol diff --git a/packages/lolcode/0.11.2/build.sh b/packages/lolcode/0.11.2/build.sh new file mode 100755 index 0000000..33ed9f8 --- /dev/null +++ b/packages/lolcode/0.11.2/build.sh @@ -0,0 +1,13 @@ +#!/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 +./install.py --prefix="$PREFIX" + +# Cleaning up +cd ../ && rm -rf lolcode \ No newline at end of file diff --git a/packages/lolcode/0.11.2/environment b/packages/lolcode/0.11.2/environment new file mode 100644 index 0000000..780b668 --- /dev/null +++ b/packages/lolcode/0.11.2/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH diff --git a/packages/lolcode/0.11.2/metadata.json b/packages/lolcode/0.11.2/metadata.json new file mode 100644 index 0000000..80e46ea --- /dev/null +++ b/packages/lolcode/0.11.2/metadata.json @@ -0,0 +1,6 @@ +{ + "language": "lolcode", + "version": "0.11.2", + "author": "Shivansh-007 ", + "aliases": ["lol", "lci"] +} diff --git a/packages/lolcode/0.11.2/run b/packages/lolcode/0.11.2/run new file mode 100644 index 0000000..ce329fb --- /dev/null +++ b/packages/lolcode/0.11.2/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +lolcode "$@" diff --git a/packages/lolcode/0.11.2/test.lol b/packages/lolcode/0.11.2/test.lol new file mode 100644 index 0000000..f93f722 --- /dev/null +++ b/packages/lolcode/0.11.2/test.lol @@ -0,0 +1,4 @@ +HAI 1.2 + CAN HAS STDIO? + VISIBLE "OK" +KTHXBYE