Created
August 25, 2013 08:39
-
-
Save yaowenqiang/6332733 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
set -e | |
sudo apt-get install openjdk-7-jdk git-core wget -y # Ubuntu 12.04 meets no problem | |
wget --no-check-certificate -O ~/bin/lein https://raw.github.com/technomancy/leiningen/preview/bin/lein | |
chmod 755 ~/bin/lein | |
# Add ~/bin to your $PATH, it has been done if in Ubuntu 12.04 | |
lein # the first time it will install itself | |
git clone git://github.com/clojure/clojurescript.git | |
cd clojurescript | |
./script/bootstrap | |
cd ../ | |
echo "now launch something: (for example)" | |
echo "java -version" | |
echo "lein repl" | |
echo "./clojurescript/script/repljs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment