From bb8cc9dac0f704f230873163ce877ca38880f51f Mon Sep 17 00:00:00 2001 From: Brennon York Date: Mon, 15 Dec 2014 14:32:29 -0800 Subject: [PATCH] removed package files --- build/packages/mvn.sh | 32 -------------------------------- build/packages/scala.sh | 28 ---------------------------- build/packages/zinc.sh | 28 ---------------------------- 3 files changed, 88 deletions(-) delete mode 100644 build/packages/mvn.sh delete mode 100644 build/packages/scala.sh delete mode 100644 build/packages/zinc.sh diff --git a/build/packages/mvn.sh b/build/packages/mvn.sh deleted file mode 100644 index 14d1106c17c93..0000000000000 --- a/build/packages/mvn.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -install_mvn_for_linux() { - # Determine the current working directory - local dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - local mvn_url="http://apache.claz.org/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz" - local mvn_loc="${dir}/../apache-maven-3.2.3-bin.tar.gz" - local mvn_bin="${dir}/../apache-maven-3.2.3/bin/mvn" - - if [ ! -f "${mvn_bin}" ]; then - # check if we already have the tarball; check if we have curl installed; download `mvn` - [ ! -f "${mvn_loc}" ] && [ -n "`which curl 2>/dev/null`" ] && curl "${mvn_url}" > "${mvn_loc}" - # if the `mvn` file still doesn't exist, lets try `wget` and cross our fingers - [ ! -f "${mvn_loc}" ] && [ -n "`which wget 2>/dev/null`" ] && wget -O "${mvn_loc}" "${mvn_url}" - # if both weren't successful, exit - [ ! -f "${mvn_loc}" ] && \ - echo "ERROR: Cannot find or download a version of Maven, please install manually and try again." && \ - exit 2 - cd "${dir}/.." && tar -xzf "${mvn_loc}" - rm -rf "${mvn_loc}" - fi - export MVN_BIN="${mvn_bin}" -} - -export_mvn_for_linux() { - -} - -install_mvn_for_osx() { - brew install maven - export MVN_BIN=`which mvn` -} diff --git a/build/packages/scala.sh b/build/packages/scala.sh deleted file mode 100644 index c739b84eaf676..0000000000000 --- a/build/packages/scala.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -install_scala_for_linux() { - # Determine the current working directory - local dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - local scala_url="http://downloads.typesafe.com/scala/2.11.4/scala-2.11.4.tgz" - local scala_loc="${dir}/../scala-2.11.4.tgz" - local scala_bin="${dir}/../scala-2.11.4/bin/scala" - - if [ ! -f "${scala_bin}" ]; then - # check if we already have the tarball; check if we have curl installed; download `scala` - [ ! -f "${scala_loc}" ] && [ -n "`which curl 2>/dev/null`" ] && curl "${scala_url}" > "${scala_loc}" - # if the `scala` file still doesn't exist, lets try `wget` and cross our fingers - [ ! -f "${scala_loc}" ] && [ -n "`which wget 2>/dev/null`" ] && wget -O "${scala_loc}" "${scala_url}" - # if both weren't successful, exit - [ ! -f "${scala_loc}" ] && \ - echo "ERROR: Cannot find or download a version of Maven, please install manually and try again." && \ - exit 2 - cd "${dir}/.." && tar -xzf "${scala_loc}" - rm -rf "${scala_loc}" - fi - export SCALA_HOME="$(dirname ${scala_bin})/.." -} - -install_scala_for_osx() { - brew install scala - export SCALA_HOME="$(dirname "`brew --prefix`/Cellar/$(readlink `which scala`)")/../libexec" -} diff --git a/build/packages/zinc.sh b/build/packages/zinc.sh deleted file mode 100644 index c3c4c078f3d95..0000000000000 --- a/build/packages/zinc.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -install_zinc_for_linux() { - # Determine the current working directory - local dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - local zinc_url="http://downloads.typesafe.com/zinc/0.3.5.3/zinc-0.3.5.3.tgz" - local zinc_loc="${dir}/../zinc-0.3.5.3.tgz" - local zinc_bin="${dir}/../zinc-0.3.5.3/bin/zinc" - - if [ ! -f "${zinc_bin}" ]; then - # check if we already have the tarball; check if we have curl installed; download `zinc` - [ ! -f "${zinc_loc}" ] && [ -n "`which curl 2>/dev/null`" ] && curl "${zinc_url}" > "${zinc_loc}" - # if the `zinc` file still doesn't exist, lets try `wget` and cross our fingers - [ ! -f "${zinc_loc}" ] && [ -n "`which wget 2>/dev/null`" ] && wget -O "${zinc_loc}" "${zinc_url}" - # if both weren't successful, exit - [ ! -f "${zinc_loc}" ] && \ - echo "ERROR: Cannot find or download a version of Maven, please install manually and try again." && \ - exit 2 - cd "${dir}/.." && tar -xzf "${zinc_loc}" - rm -rf "${zinc_loc}" - fi - export ZINC_BIN="${zinc_bin}" -} - -install_zinc_for_osx() { - brew install zinc - export ZINC_BIN=`which zinc` -}