Skip to content

Commit

Permalink
Make sure that 'make unittest' works on almost all platforms (fixes t…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiff committed Jul 17, 2012
1 parent 2c6dc01 commit 5264e34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ VERSION = $(shell cat version.txt)

JS_OUTPUT = "dist/wysihtml5-${VERSION}.js"

OPEN = $(shell which xdg-open || which gnome-open || which open)

JS_FILES = src/wysihtml5.js \
lib/rangy/rangy-core.js \
lib/base/base.js \
Expand Down Expand Up @@ -90,7 +92,7 @@ minify:
@@echo "Done."

unittest: bundle
@@open test/index.html
@@${OPEN} test/index.html

clean:
@@git co ${JS_OUTPUT}

0 comments on commit 5264e34

Please sign in to comment.