mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-15 08:06:27 +02:00
Compare commits
No commits in common. "919076e20924c1a267a4e1885d17c896c2e96c80" and "c1ed7a7118da61532f5f13cdc99e9c52462e201c" have entirely different histories.
919076e209
...
c1ed7a7118
11 changed files with 0 additions and 71 deletions
9
packages/MATL/22.7.4/build.sh
vendored
9
packages/MATL/22.7.4/build.sh
vendored
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# build octave as dependency
|
||||
source ../../octave/6.2.0/build.sh
|
||||
|
||||
# curl MATL 22.7.4
|
||||
curl -L "https://github.com/lmendo/MATL/archive/refs/tags/22.7.4.tar.gz" -o MATL.tar.xz
|
||||
tar xf MATL.tar.xz --strip-components=1
|
||||
rm MATL.tar.xz
|
5
packages/MATL/22.7.4/environment
vendored
5
packages/MATL/22.7.4/environment
vendored
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Path to MATL binary
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export MATL_PATH=$PWD
|
5
packages/MATL/22.7.4/metadata.json
vendored
5
packages/MATL/22.7.4/metadata.json
vendored
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"language": "matl",
|
||||
"version": "22.7.4",
|
||||
"aliases": []
|
||||
}
|
13
packages/MATL/22.7.4/run
vendored
13
packages/MATL/22.7.4/run
vendored
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# get file as first argument
|
||||
file="$1"
|
||||
|
||||
# remove the file from $@
|
||||
shift
|
||||
|
||||
# use the rest of the arguments as stdin
|
||||
stdin=`printf "%s\n" "$@"`
|
||||
|
||||
# pass stdin into octave which will run MATL
|
||||
echo "$stdin" | octave -W -p "$MATL_PATH" --eval "matl -of '$file'"
|
1
packages/MATL/22.7.4/test.matl
vendored
1
packages/MATL/22.7.4/test.matl
vendored
|
@ -1 +0,0 @@
|
|||
'OK'
|
10
packages/zig/0.10.1/build.sh
vendored
10
packages/zig/0.10.1/build.sh
vendored
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p bin
|
||||
cd bin/
|
||||
|
||||
curl -L "https://ziglang.org/download/0.10.1/zig-linux-x86_64-0.10.1.tar.xz" -o zig.tar.xz
|
||||
tar xf zig.tar.xz --strip-components=1
|
||||
rm zig.tar.xz
|
||||
|
||||
cd ../
|
6
packages/zig/0.10.1/compile
vendored
6
packages/zig/0.10.1/compile
vendored
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# optimizing for small programs
|
||||
rename 's/$/\.zig/' "$@" # Add .zig extension
|
||||
|
||||
zig build-exe -O ReleaseSafe --color off --cache-dir . --global-cache-dir . --name out *.zig
|
4
packages/zig/0.10.1/environment
vendored
4
packages/zig/0.10.1/environment
vendored
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# compiler path
|
||||
export PATH=$PWD/bin:$PATH
|
8
packages/zig/0.10.1/metadata.json
vendored
8
packages/zig/0.10.1/metadata.json
vendored
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"language": "zig",
|
||||
"version": "0.10.1",
|
||||
"aliases": [],
|
||||
"limit_overrides": {
|
||||
"compile_timeout": 15000
|
||||
}
|
||||
}
|
4
packages/zig/0.10.1/run
vendored
4
packages/zig/0.10.1/run
vendored
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
shift # Filename is only used in compile step, so we can take it out here
|
||||
./out "$@"
|
6
packages/zig/0.10.1/test.zig
vendored
6
packages/zig/0.10.1/test.zig
vendored
|
@ -1,6 +0,0 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() !void {
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
try stdout.print("OK\n", .{});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue