Skip to content

Instantly share code, notes, and snippets.

@eamexicano
Created Apr 26, 2012
Embed
What would you like to do?
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