initial testing

This commit is contained in:
R. Francis Smith 2017-07-20 23:42:39 -05:00
commit fd58a48a15
2 changed files with 14 additions and 0 deletions

12
bin/install Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# instructions taken straight from https://gradle.org/install/#manually
if [ "$ASDF_INSTALL_TYPE" = "ref" ]
then
git clone "$ASDF_INSTALL_VERSION" "$ASDF_INSTALL_PATH"
else
mkdir -p "$ASDF_INSTALL_PATH"
cd "$ASDF_INSTALL_PATH" || exit 1
curl -O https://services.gradle.org/distributions/gradle-${ASDF_INSTALL_VERSION}-bin.zip
unzip gradle-${ASDF_INSTALL_VERSION}-bin.zip
rm gradle-${ASDF_INSTALL_VERSION}-bin.zip
fi

2
bin/list-all Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
curl -s https://services.gradle.org/distributions/ | grep -e "distributions.*-bin.zip\"" | sed -e "s#^.*distributions/gradle-##" -e "s#-bin.zip.*##" | sort -t. -n | paste -s -d" " -