Simplify gyp

Gyp is only used for construction now.
This commit is contained in:
probablycorey
2013-06-18 11:43:39 -07:00
parent 65c02328b3
commit fcaa952973
4 changed files with 25 additions and 107 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
. $(dirname $0)/lib/polite-curl
cd "$(dirname "${BASH_SOURCE[0]}" )/.."
TARGET=${1:-atom-shell}
@@ -20,7 +22,7 @@ if [[ ${LATEST_VERSION} != ${CURRENT_VERSION} ]]; then
else
echo "Downloading/extracting atom-shell ${LATEST_VERSION}..."
mkdir -p $TEMP_DIR
curl "${DISTURL}/${LATEST_VERSION}/atom-shell.zip" > "${TEMP_DIR}/atom-shell.zip"
polite_curl "${DISTURL}/${LATEST_VERSION}/atom-shell.zip" > "${TEMP_DIR}/atom-shell.zip"
unzip -q "${TEMP_DIR}/atom-shell.zip" -d "${TEMP_DIR}"
rm "${TEMP_DIR}/atom-shell.zip"
fi