mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
23 lines
339 B
Bash
Executable file
23 lines
339 B
Bash
Executable file
#!/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
|