Compare commits
4 Commits
7837f1c7c0
...
567809ed42
Author | SHA1 | Date |
---|---|---|
Dan Vargas | 567809ed42 | |
Dan Vargas | 9b305c7995 | |
Dan Vargas | d64a2667dc | |
Dan Vargas | 9b1e487156 |
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ../../erlang/23.0.0/build.sh
|
||||
|
||||
export PATH=$PWD/bin:$PATH
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl -L "https://github.com/elixir-lang/elixir/archive/v1.11.3.tar.gz" -o elixir.tar.gz
|
||||
tar xzf elixir.tar.gz --strip-components=1
|
||||
rm elixir.tar.gz
|
||||
|
||||
./configure --prefix "$PREFIX"
|
||||
make -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
cp -r build/bin .
|
||||
cp -r build/lib .
|
||||
|
||||
rm -rf build
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "elixir",
|
||||
"version": "1.11.3",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["elixir", "exs"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
elixir "$@"
|
|
@ -0,0 +1 @@
|
|||
IO.puts("OK")
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl "http://erlang.org/download/otp_src_23.0.tar.gz" -o erlang.tar.gz
|
||||
tar xzf erlang.tar.gz --strip-components=1
|
||||
rm erlang.tar.gz
|
||||
|
||||
export ERL_TOP=$(pwd)
|
||||
./configure --prefix "$PREFIX"
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf build
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "erlang",
|
||||
"version": "23.0.0",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["erlang", "erl", "escript"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
escript "$@"
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
main(_) ->
|
||||
io:format("OK~n").
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "osabie",
|
||||
"version": "1.0.1",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["osabie", "05AB1E", "usable"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
osabie "$@"
|
|
@ -0,0 +1 @@
|
|||
"OK
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
ruby $*
|
||||
ruby "$@"
|
Loading…
Reference in New Issue