jasmine.sh: add some log to say which platform are support

This commit is contained in:
ficristo committed 2015-12-24 08:55:33 +01:00
1 parent d31b6f7e3f
commit d29a8fe9d0
2 files changed
+20 -2

No files matched your search

+3 -1
View File
@@ -11,7 +11,9 @@ Running Tests
2 options for running tests:
1. Run brackets-app and click "Run Tests" from the menu (debugging and dev tools **not** supported)
1. Run jasmine.sh or manually run Brackets-app with the argument file://path/to/brackets/test/SpecRunner.html.
1. Run jasmine.sh (only OSX is supported) or manually run Brackets-app with
the argument file://path/to/brackets/test/SpecRunner.html.
Adding New Tests
+17 -1
View File
@@ -28,4 +28,20 @@ BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $BASEDIR
# open the Jasmine SpecRunner
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
case $OSTYPE in
darwin*)
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
;;
linux*)
echo Linux Not Yet Implemented
;;
cygwin* | msys | win32 )
echo Windows Not Yet Implemented
;;
freebsd*)
echo FreeBSD Not Yet Implemented
;;
*)
echo Unknown operating system $OSTYPE
;;
esac