piston/packages/osabie/1.0.1/build.sh

24 lines
339 B
Bash
Raw Permalink Normal View History

2021-03-15 18:53:44 +01:00
#!/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