Skip to content

Instantly share code, notes, and snippets.

@vmi
Created January 16, 2012 07:37
Show Gist options
  • Save vmi/1619636 to your computer and use it in GitHub Desktop.
Save vmi/1619636 to your computer and use it in GitHub Desktop.
Get google closure compiler
#!/bin/bash
if [ -f compiler-latest.zip ]; then
read -p 'Re-get archive?(y/N) ' yn
case "$yn" in
y|Y|yes)
;;
*)
echo "Abort."
exit 1
;;
esac
rm -f compiler-latest.zip
fi
set -e
set -x
wget http://closure-compiler.googlecode.com/files/compiler-latest.zip
unzip compiler-latest.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment