From b68770af9fe466ae297368b42dd8fb03d34171a9 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Mar 12 2014 09:22:56 +0000 Subject: add a convenience script for maintainers --- diff --git a/download-from-github.sh b/download-from-github.sh new file mode 100755 index 0000000..9f5c597 --- /dev/null +++ b/download-from-github.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# (Note: This isn't used in the build at all, just a convenience script to +# avoid having to copy-paste the download link from GitHub each update). + +if [ "$1" == "" ]; then + echo 'usage: ./download-from-github ' + exit 1 +fi + +wget -O "elixir-$1.tar.gz" \ + "https://github.com/elixir-lang/elixir/archive/v$1.tar.gz"