Add husky setup

This commit is contained in:
Jonathan Clem
2020-05-14 15:19:41 -04:00
parent 6f8a4fe252
commit 5f61b21f08
8 changed files with 3520 additions and 0 deletions
Vendored Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
set -eo pipefail
cd /tmp
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
mkdir -p .setup-elixir/otp
tar zxf otp.tar.gz -C .setup-elixir/otp --strip-components=1
rm otp.tar.gz
.setup-elixir/otp/Install -minimal $(pwd)/.setup-elixir/otp
echo "::add-path::$(pwd)/.setup-elixir/otp/bin"