Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Allow jasmine.sh to run from any working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose committed Dec 12, 2011
1 parent c993b84 commit f56ed50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/jasmine.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/bin/bash
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

echo $BASEDIR

# open the Jasmine SpecRunner
open ../../bin/mac/Brackets.app --args file:///${PWD}/SpecRunner.html
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html

0 comments on commit f56ed50

Please sign in to comment.