Skip to content

Instantly share code, notes, and snippets.

@eamexicano
Created April 26, 2012 03:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eamexicano/2495706 to your computer and use it in GitHub Desktop.
Save eamexicano/2495706 to your computer and use it in GitHub Desktop.
Basic setup for jasmine
#!/bin/sh
if [ -n "$1" ]; then
mkdir ./"$1";
mv docs.sh "$1"/docs.sh;
cd "$1"
# Change "jasmine-standalone-1.2.0.rc3.zip" - for the desired version in the next 2 lines.
wget https://github.com/pivotal/jasmine/downloads/jasmine-standalone-1.2.0.zip;
unzip jasmine-standalone-1.2.0.zip;
sh docs.sh "$1"
$EDITOR .
else
echo "Choose a name for your project and run sh setup.sh again.";
echo "sh setup.sh leProject";
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment