add a convenience script for maintainers

This commit is contained in:
Ricky Elrod 2014-03-12 05:22:56 -04:00
parent bef6baf241
commit b68770af9f

11
download-from-github.sh Executable file
View File

@ -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 <elixir version>'
exit 1
fi
wget -O "elixir-$1.tar.gz" \
"https://github.com/elixir-lang/elixir/archive/v$1.tar.gz"