From 9b305c7995be07a681805675f09c202453e91563 Mon Sep 17 00:00:00 2001 From: Dan Vargas Date: Mon, 15 Mar 2021 12:53:44 -0500 Subject: [PATCH] pkg(osabie-1.0.1): Added osabie 1.0.1 --- packages/osabie/1.0.1/build.sh | 23 +++++++++++++++++++++++ packages/osabie/1.0.1/environment | 4 ++++ packages/osabie/1.0.1/metadata.json | 6 ++++++ packages/osabie/1.0.1/run | 4 ++++ packages/osabie/1.0.1/test.osabie | 1 + 5 files changed, 38 insertions(+) create mode 100755 packages/osabie/1.0.1/build.sh create mode 100644 packages/osabie/1.0.1/environment create mode 100644 packages/osabie/1.0.1/metadata.json create mode 100644 packages/osabie/1.0.1/run create mode 100644 packages/osabie/1.0.1/test.osabie diff --git a/packages/osabie/1.0.1/build.sh b/packages/osabie/1.0.1/build.sh new file mode 100755 index 0000000..8914444 --- /dev/null +++ b/packages/osabie/1.0.1/build.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +source ../../elixir/1.11.3/build.sh + +export PATH=$PWD/bin:$PATH + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +git clone 'https://github.com/Adriandmen/05AB1E.git' . +mix local.hex --force +mix local.rebar --force +mix deps.get --force +MIX_ENV=prod mix escript.build --force + +cd .. + +cp -r build/* bin + +rm -rf build diff --git a/packages/osabie/1.0.1/environment b/packages/osabie/1.0.1/environment new file mode 100644 index 0000000..780b668 --- /dev/null +++ b/packages/osabie/1.0.1/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/osabie/1.0.1/metadata.json b/packages/osabie/1.0.1/metadata.json new file mode 100644 index 0000000..140965f --- /dev/null +++ b/packages/osabie/1.0.1/metadata.json @@ -0,0 +1,6 @@ +{ + "language": "osabie", + "version": "1.0.1", + "author": "Dan Vargas ", + "aliases": ["osabie", "05AB1E", "usable"] +} \ No newline at end of file diff --git a/packages/osabie/1.0.1/run b/packages/osabie/1.0.1/run new file mode 100644 index 0000000..2f99ab0 --- /dev/null +++ b/packages/osabie/1.0.1/run @@ -0,0 +1,4 @@ +#!/bin/bash + +# Put instructions to run the runtime +osabie "$@" \ No newline at end of file diff --git a/packages/osabie/1.0.1/test.osabie b/packages/osabie/1.0.1/test.osabie new file mode 100644 index 0000000..4a7ac92 --- /dev/null +++ b/packages/osabie/1.0.1/test.osabie @@ -0,0 +1 @@ +"OK