Skip to content

Instantly share code, notes, and snippets.

@eamexicano
Created April 26, 2012 03:58

Revisions

  1. eamexicano revised this gist Aug 2, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,8 @@ if [ -n "$1" ]; then
    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 http://pivotal.github.com/jasmine/downloads/jasmine-standalone-1.2.0.rc3.zip
    unzip jasmine-standalone-1.2.0.rc3.zip
    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
  2. eamexicano created this gist Apr 26, 2012.
    14 changes: 14 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    #!/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 http://pivotal.github.com/jasmine/downloads/jasmine-standalone-1.2.0.rc3.zip
    unzip jasmine-standalone-1.2.0.rc3.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