piston nix pkg for lolcode

This commit is contained in:
Dan Vargas 2022-02-07 16:06:37 -07:00
parent 27e59923f2
commit c604863c72
7 changed files with 34 additions and 35 deletions

View file

@ -1,18 +0,0 @@
#!/usr/bin/env bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
# lolcode release
curl -L "https://github.com/justinmeza/lci/archive/refs/tags/v0.11.2.tar.gz" -o lolcode.tar.gz
tar xzf lolcode.tar.gz --strip-components=1
# Building and installing lolcode
cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" .
make -j$(nproc)
make install -j$(nproc)
# Cleaning up
cd ../ && rm -rf build

View file

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

View file

@ -1,5 +0,0 @@
{
"language": "lolcode",
"version": "0.11.2",
"aliases": ["lol", "lci"]
}

View file

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

View file

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