mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
Compare commits
12 commits
b6b573f4c4
...
d79b58add1
Author | SHA1 | Date | |
---|---|---|---|
|
d79b58add1 | ||
|
3d8e45ecc4 | ||
|
50c4e0fae5 | ||
|
b8aa60c4ab | ||
|
5217e2af5d | ||
|
599b1f793d | ||
|
bcbdda6f66 | ||
|
88925c0b2e | ||
|
ac660c0a45 | ||
|
09c9c13d07 | ||
|
992a5f52fc | ||
|
fdf236a789 |
24 changed files with 126 additions and 2 deletions
19
packages/haskell/9.0.1/build.sh
vendored
Executable file
19
packages/haskell/9.0.1/build.sh
vendored
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Platform specific because a true source compile would require GHC to be installed already on the latest
|
||||
curl -L "https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-deb10-linux.tar.xz" -o ghc.tar.xz
|
||||
tar xf ghc.tar.xz --strip-components=1
|
||||
rm ghc.tar.xz
|
||||
|
||||
./configure --prefix="$PREFIX"
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
5
packages/haskell/9.0.1/compile
vendored
Normal file
5
packages/haskell/9.0.1/compile
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile haskell file(s)
|
||||
ghc -dynamic -v0 -o out "$@"
|
||||
chmod +x out
|
1
packages/haskell/9.0.1/environment
vendored
Normal file
1
packages/haskell/9.0.1/environment
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
6
packages/haskell/9.0.1/metadata.json
vendored
Normal file
6
packages/haskell/9.0.1/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "haskell",
|
||||
"version": "9.0.1",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["haskell", "hs"]
|
||||
}
|
4
packages/haskell/9.0.1/run
vendored
Normal file
4
packages/haskell/9.0.1/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
1
packages/haskell/9.0.1/test.hs
vendored
Normal file
1
packages/haskell/9.0.1/test.hs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
main = putStrLn "OK"
|
19
packages/lisp/2.1.2/build.sh
vendored
Executable file
19
packages/lisp/2.1.2/build.sh
vendored
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to build your package in here
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Prebuilt binary install since source compile requires lisp to be installed already
|
||||
curl -L "http://prdownloads.sourceforge.net/sbcl/sbcl-2.1.2-x86-64-linux-binary.tar.bz2" -o sbcl.tar.bz2
|
||||
tar xf sbcl.tar.bz2 --strip-components=1
|
||||
rm sbcl.tar.bz2
|
||||
|
||||
INSTALL_ROOT=$PREFIX sh install.sh
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
4
packages/lisp/2.1.2/environment
vendored
Normal file
4
packages/lisp/2.1.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/lisp/2.1.2/metadata.json
vendored
Normal file
6
packages/lisp/2.1.2/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "lisp",
|
||||
"version": "2.1.2",
|
||||
"aliases": ["lisp","cl","sbcl","commonlisp"],
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>"
|
||||
}
|
4
packages/lisp/2.1.2/run
vendored
Normal file
4
packages/lisp/2.1.2/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
sbcl --script "$@"
|
1
packages/lisp/2.1.2/test.cl
vendored
Normal file
1
packages/lisp/2.1.2/test.cl
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
(write-line "OK")
|
18
packages/nim/1.4.4/build.sh
vendored
Executable file
18
packages/nim/1.4.4/build.sh
vendored
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Prebuilt binary - source *can* be built, but it requires gcc
|
||||
curl -L "https://nim-lang.org/download/nim-1.4.4-linux_x64.tar.xz" -o nim.tar.xz
|
||||
tar xf nim.tar.xz --strip-components=1
|
||||
rm nim.tar.xz
|
||||
|
||||
./install.sh "$PREFIX"
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
5
packages/nim/1.4.4/compile
vendored
Normal file
5
packages/nim/1.4.4/compile
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile nim file(s)
|
||||
nim --hints:off --out:out --nimcache:./ c "$@"
|
||||
chmod +x out
|
1
packages/nim/1.4.4/environment
vendored
Normal file
1
packages/nim/1.4.4/environment
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/nim/bin:$PATH
|
6
packages/nim/1.4.4/metadata.json
vendored
Normal file
6
packages/nim/1.4.4/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "nim",
|
||||
"version": "1.4.4",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["nim"]
|
||||
}
|
4
packages/nim/1.4.4/run
vendored
Normal file
4
packages/nim/1.4.4/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
1
packages/nim/1.4.4/test.nim
vendored
Normal file
1
packages/nim/1.4.4/test.nim
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
echo("OK")
|
4
packages/osabie/1.0.1/run
vendored
4
packages/osabie/1.0.1/run
vendored
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
osabie "$@"
|
||||
# osabie only takes filename and stdin
|
||||
osabie "$1"
|
5
packages/paradoc/0.6.0/build.sh
vendored
Executable file
5
packages/paradoc/0.6.0/build.sh
vendored
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ../../python/3.9.1/build.sh
|
||||
|
||||
git clone -q https://github.com/betaveros/paradoc.git paradoc
|
2
packages/paradoc/0.6.0/environment
vendored
Normal file
2
packages/paradoc/0.6.0/environment
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export PYTHONPATH=$PYTHONPATH:$PWD/paradoc
|
||||
export PATH=$PWD/bin:$PATH
|
6
packages/paradoc/0.6.0/metadata.json
vendored
Normal file
6
packages/paradoc/0.6.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "paradoc",
|
||||
"version": "0.6.0",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["paradoc"]
|
||||
}
|
4
packages/paradoc/0.6.0/run
vendored
Normal file
4
packages/paradoc/0.6.0/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Paradoc only takes filename and stdin
|
||||
python3 -m paradoc "$1"
|
1
packages/paradoc/0.6.0/test.paradoc
vendored
Normal file
1
packages/paradoc/0.6.0/test.paradoc
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
"OK"
|
1
packages/rust/1.50.0/run
vendored
1
packages/rust/1.50.0/run
vendored
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
shift
|
||||
./binary "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue