Permalink
Browse files

Have the play script do a better check as to whether project is actua…

…lly a play project.
  • Loading branch information...
1 parent ae32dfb commit 98aff0f86187fdd35398dc7a7934b9038461bb69 @benmccann benmccann committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 play
View
2 play
@@ -13,7 +13,7 @@ else
JAVA=$JAVA_HOME/bin/java
fi
-if [ -f conf/application.conf -o -f conf/reference.conf ]; then
+if grep -q "addSbtPlugin(\"play\"" project/plugins.sbt; then
if test "$1" = "clean-all"; then
rm -rf target
rm -rf tmp

0 comments on commit 98aff0f

Please sign in to comment.