From 35cd527c6911743ad9968e9f6d96c425736fe93e Mon Sep 17 00:00:00 2001 From: Dan Vargas Date: Fri, 4 Feb 2022 09:18:19 -0700 Subject: [PATCH] remove old packages --- packages/ruby/2.5.1/build.sh | 20 -------------------- packages/ruby/2.5.1/environment | 1 - packages/ruby/2.5.1/metadata.json | 5 ----- packages/ruby/2.5.1/run | 3 --- packages/ruby/2.5.1/test.rb | 1 - packages/ruby/3.0.1/build.sh | 21 --------------------- packages/ruby/3.0.1/environment | 4 ---- packages/ruby/3.0.1/metadata.json | 5 ----- packages/ruby/3.0.1/run | 4 ---- packages/ruby/3.0.1/test.rb | 1 - packages/swift/5.3.3/build.sh | 6 ------ packages/swift/5.3.3/environment | 4 ---- packages/swift/5.3.3/metadata.json | 5 ----- packages/swift/5.3.3/run | 4 ---- packages/swift/5.3.3/test.swift | 1 - packages/vlang/0.1.13/build.sh | 8 -------- packages/vlang/0.1.13/environment | 4 ---- packages/vlang/0.1.13/metadata.json | 5 ----- packages/vlang/0.1.13/run | 14 -------------- packages/vlang/0.1.13/test.v | 3 --- packages/zig/0.7.1/build.sh | 10 ---------- packages/zig/0.7.1/compile | 6 ------ packages/zig/0.7.1/environment | 4 ---- packages/zig/0.7.1/metadata.json | 5 ----- packages/zig/0.7.1/run | 4 ---- packages/zig/0.7.1/test.zig | 6 ------ packages/zig/0.8.0/build.sh | 10 ---------- packages/zig/0.8.0/compile | 6 ------ packages/zig/0.8.0/environment | 4 ---- packages/zig/0.8.0/metadata.json | 8 -------- packages/zig/0.8.0/run | 4 ---- packages/zig/0.8.0/test.zig | 6 ------ 32 files changed, 192 deletions(-) delete mode 100755 packages/ruby/2.5.1/build.sh delete mode 100644 packages/ruby/2.5.1/environment delete mode 100644 packages/ruby/2.5.1/metadata.json delete mode 100644 packages/ruby/2.5.1/run delete mode 100644 packages/ruby/2.5.1/test.rb delete mode 100755 packages/ruby/3.0.1/build.sh delete mode 100644 packages/ruby/3.0.1/environment delete mode 100644 packages/ruby/3.0.1/metadata.json delete mode 100644 packages/ruby/3.0.1/run delete mode 100644 packages/ruby/3.0.1/test.rb delete mode 100755 packages/swift/5.3.3/build.sh delete mode 100644 packages/swift/5.3.3/environment delete mode 100644 packages/swift/5.3.3/metadata.json delete mode 100644 packages/swift/5.3.3/run delete mode 100644 packages/swift/5.3.3/test.swift delete mode 100755 packages/vlang/0.1.13/build.sh delete mode 100644 packages/vlang/0.1.13/environment delete mode 100644 packages/vlang/0.1.13/metadata.json delete mode 100644 packages/vlang/0.1.13/run delete mode 100644 packages/vlang/0.1.13/test.v delete mode 100755 packages/zig/0.7.1/build.sh delete mode 100644 packages/zig/0.7.1/compile delete mode 100644 packages/zig/0.7.1/environment delete mode 100644 packages/zig/0.7.1/metadata.json delete mode 100644 packages/zig/0.7.1/run delete mode 100644 packages/zig/0.7.1/test.zig delete mode 100755 packages/zig/0.8.0/build.sh delete mode 100644 packages/zig/0.8.0/compile delete mode 100644 packages/zig/0.8.0/environment delete mode 100644 packages/zig/0.8.0/metadata.json delete mode 100644 packages/zig/0.8.0/run delete mode 100644 packages/zig/0.8.0/test.zig diff --git a/packages/ruby/2.5.1/build.sh b/packages/ruby/2.5.1/build.sh deleted file mode 100755 index 7403e87..0000000 --- a/packages/ruby/2.5.1/build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -PREFIX=$(realpath $(dirname $0)) - -mkdir -p build - -cd build - -curl "https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz" -o ruby.tar.gz -tar xzf ruby.tar.gz --strip-components=1 -rm ruby.tar.gz - -./configure --prefix "$PREFIX" -make -j$(nproc) -make install -j$(nproc) - -cd .. - -rm -rf build - diff --git a/packages/ruby/2.5.1/environment b/packages/ruby/2.5.1/environment deleted file mode 100644 index bd0ff98..0000000 --- a/packages/ruby/2.5.1/environment +++ /dev/null @@ -1 +0,0 @@ -export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/ruby/2.5.1/metadata.json b/packages/ruby/2.5.1/metadata.json deleted file mode 100644 index a483428..0000000 --- a/packages/ruby/2.5.1/metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "language": "ruby", - "version": "2.5.1", - "aliases": ["ruby", "rb"] -} diff --git a/packages/ruby/2.5.1/run b/packages/ruby/2.5.1/run deleted file mode 100644 index ae76e5f..0000000 --- a/packages/ruby/2.5.1/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -ruby "$@" \ No newline at end of file diff --git a/packages/ruby/2.5.1/test.rb b/packages/ruby/2.5.1/test.rb deleted file mode 100644 index 3fca0dd..0000000 --- a/packages/ruby/2.5.1/test.rb +++ /dev/null @@ -1 +0,0 @@ -puts("OK") \ No newline at end of file diff --git a/packages/ruby/3.0.1/build.sh b/packages/ruby/3.0.1/build.sh deleted file mode 100755 index ab6b8a0..0000000 --- a/packages/ruby/3.0.1/build.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -PREFIX=$(realpath $(dirname $0)) - -mkdir -p build -cd build - -# Download and extract ruby -curl "https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.gz" -o ruby.tar.gz -tar xzf ruby.tar.gz --strip-components=1 -rm ruby.tar.gz - -# Autoconf based -./configure --prefix "$PREFIX" -make -j$(nproc) -make install -j$(nproc) - -# Cleanup -cd .. -rm -rf build - diff --git a/packages/ruby/3.0.1/environment b/packages/ruby/3.0.1/environment deleted file mode 100644 index 118cf33..0000000 --- a/packages/ruby/3.0.1/environment +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# Path to ruby binary -export PATH=$PWD/bin:$PATH diff --git a/packages/ruby/3.0.1/metadata.json b/packages/ruby/3.0.1/metadata.json deleted file mode 100644 index 283cf71..0000000 --- a/packages/ruby/3.0.1/metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "language": "ruby", - "version": "3.0.1", - "aliases": ["ruby3", "rb"] -} diff --git a/packages/ruby/3.0.1/run b/packages/ruby/3.0.1/run deleted file mode 100644 index 55cca9c..0000000 --- a/packages/ruby/3.0.1/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# Run ruby script with args -ruby "$@" diff --git a/packages/ruby/3.0.1/test.rb b/packages/ruby/3.0.1/test.rb deleted file mode 100644 index eb08579..0000000 --- a/packages/ruby/3.0.1/test.rb +++ /dev/null @@ -1 +0,0 @@ -puts("OK") diff --git a/packages/swift/5.3.3/build.sh b/packages/swift/5.3.3/build.sh deleted file mode 100755 index 5070b12..0000000 --- a/packages/swift/5.3.3/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -# Binary install -curl -L "https://swift.org/builds/swift-5.3.3-release/ubuntu1804/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu18.04.tar.gz" -o swift.tar.gz -tar xzf swift.tar.gz --strip-components=2 -rm swift.tar.gz diff --git a/packages/swift/5.3.3/environment b/packages/swift/5.3.3/environment deleted file mode 100644 index 780b668..0000000 --- a/packages/swift/5.3.3/environment +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# Put 'export' statements here for environment variables -export PATH=$PWD/bin:$PATH diff --git a/packages/swift/5.3.3/metadata.json b/packages/swift/5.3.3/metadata.json deleted file mode 100644 index ecc52ae..0000000 --- a/packages/swift/5.3.3/metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "language": "swift", - "version": "5.3.3", - "aliases": ["swift"] -} diff --git a/packages/swift/5.3.3/run b/packages/swift/5.3.3/run deleted file mode 100644 index 5d29e87..0000000 --- a/packages/swift/5.3.3/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# Setting clang cache to current dir to avoid permission error on /tmp -swift -module-cache-path . "$@" diff --git a/packages/swift/5.3.3/test.swift b/packages/swift/5.3.3/test.swift deleted file mode 100644 index 3f2688f..0000000 --- a/packages/swift/5.3.3/test.swift +++ /dev/null @@ -1 +0,0 @@ -print("OK") \ No newline at end of file diff --git a/packages/vlang/0.1.13/build.sh b/packages/vlang/0.1.13/build.sh deleted file mode 100755 index 127bac9..0000000 --- a/packages/vlang/0.1.13/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -# Cloning vlang source -git clone https://github.com/vlang/v -cd v - -# Building and installing vlang -make \ No newline at end of file diff --git a/packages/vlang/0.1.13/environment b/packages/vlang/0.1.13/environment deleted file mode 100644 index 638b0c2..0000000 --- a/packages/vlang/0.1.13/environment +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# Put 'export' statements here for environment variables -export PATH="$PWD/v:$PATH" \ No newline at end of file diff --git a/packages/vlang/0.1.13/metadata.json b/packages/vlang/0.1.13/metadata.json deleted file mode 100644 index d136076..0000000 --- a/packages/vlang/0.1.13/metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "language": "vlang", - "version": "0.1.13", - "aliases": ["v"] -} diff --git a/packages/vlang/0.1.13/run b/packages/vlang/0.1.13/run deleted file mode 100644 index c999cca..0000000 --- a/packages/vlang/0.1.13/run +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Export environment variables -export VMODULES="$PWD" -export TMPDIR="$PWD" - -# Put instructions to run the runtime - -filename=$1 - -rename 's/$/\.v/' $filename # Add .v extension - -shift -v run $filename.v "$@" diff --git a/packages/vlang/0.1.13/test.v b/packages/vlang/0.1.13/test.v deleted file mode 100644 index fb5de5e..0000000 --- a/packages/vlang/0.1.13/test.v +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println('OK') -} \ No newline at end of file diff --git a/packages/zig/0.7.1/build.sh b/packages/zig/0.7.1/build.sh deleted file mode 100755 index 284214f..0000000 --- a/packages/zig/0.7.1/build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -mkdir -p bin -cd bin/ - -curl -L "https://ziglang.org/download/0.7.1/zig-linux-x86_64-0.7.1.tar.xz" -o zig.tar.xz -tar xf zig.tar.xz --strip-components=1 -rm zig.tar.xz - -cd ../ diff --git a/packages/zig/0.7.1/compile b/packages/zig/0.7.1/compile deleted file mode 100644 index 75ee6ba..0000000 --- a/packages/zig/0.7.1/compile +++ /dev/null @@ -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 diff --git a/packages/zig/0.7.1/environment b/packages/zig/0.7.1/environment deleted file mode 100644 index a85000c..0000000 --- a/packages/zig/0.7.1/environment +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# compiler path -export PATH=$PWD/bin:$PATH diff --git a/packages/zig/0.7.1/metadata.json b/packages/zig/0.7.1/metadata.json deleted file mode 100644 index 2712dc0..0000000 --- a/packages/zig/0.7.1/metadata.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "language": "zig", - "version": "0.7.1", - "aliases": ["zig"] -} diff --git a/packages/zig/0.7.1/run b/packages/zig/0.7.1/run deleted file mode 100644 index d96e06f..0000000 --- a/packages/zig/0.7.1/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -shift # Filename is only used in compile step, so we can take it out here -./out "$@" diff --git a/packages/zig/0.7.1/test.zig b/packages/zig/0.7.1/test.zig deleted file mode 100644 index 548c703..0000000 --- a/packages/zig/0.7.1/test.zig +++ /dev/null @@ -1,6 +0,0 @@ -const std = @import("std"); - -pub fn main() !void { - const stdout = std.io.getStdOut().writer(); - try stdout.print("OK\n", .{}); -} \ No newline at end of file diff --git a/packages/zig/0.8.0/build.sh b/packages/zig/0.8.0/build.sh deleted file mode 100755 index b3bbaf5..0000000 --- a/packages/zig/0.8.0/build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -mkdir -p bin -cd bin/ - -curl -L "https://ziglang.org/download/0.8.0/zig-linux-x86_64-0.8.0.tar.xz" -o zig.tar.xz -tar xf zig.tar.xz --strip-components=1 -rm zig.tar.xz - -cd ../ diff --git a/packages/zig/0.8.0/compile b/packages/zig/0.8.0/compile deleted file mode 100644 index 75ee6ba..0000000 --- a/packages/zig/0.8.0/compile +++ /dev/null @@ -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 diff --git a/packages/zig/0.8.0/environment b/packages/zig/0.8.0/environment deleted file mode 100644 index a85000c..0000000 --- a/packages/zig/0.8.0/environment +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# compiler path -export PATH=$PWD/bin:$PATH diff --git a/packages/zig/0.8.0/metadata.json b/packages/zig/0.8.0/metadata.json deleted file mode 100644 index 8c02d33..0000000 --- a/packages/zig/0.8.0/metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "language": "zig", - "version": "0.8.0", - "aliases": ["zig"], - "limit_overrides": { - "compile_timeout": 15000 - } -} diff --git a/packages/zig/0.8.0/run b/packages/zig/0.8.0/run deleted file mode 100644 index d96e06f..0000000 --- a/packages/zig/0.8.0/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -shift # Filename is only used in compile step, so we can take it out here -./out "$@" diff --git a/packages/zig/0.8.0/test.zig b/packages/zig/0.8.0/test.zig deleted file mode 100644 index 548c703..0000000 --- a/packages/zig/0.8.0/test.zig +++ /dev/null @@ -1,6 +0,0 @@ -const std = @import("std"); - -pub fn main() !void { - const stdout = std.io.getStdOut().writer(); - try stdout.print("OK\n", .{}); -} \ No newline at end of file