aboutsummaryrefslogtreecommitdiff
path: root/stage1
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-02-26 22:26:13 +0800
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-27 18:44:53 +0800
commitcbe11911183ccf077975d7f3851c664d38ecdd94 (patch)
tree2aece95512cf0be8d9f9beedd7efd921fc3ae481 /stage1
parent98f9e51dfde2a07c4fbfb7ef42e1d922e7b04875 (diff)
downloadcbt-cbe11911183ccf077975d7f3851c664d38ecdd94.tar.gz
cbt-cbe11911183ccf077975d7f3851c664d38ecdd94.tar.bz2
cbt-cbe11911183ccf077975d7f3851c664d38ecdd94.zip
important fixme message for usability issue
Diffstat (limited to 'stage1')
-rw-r--r--stage1/resolver.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/stage1/resolver.scala b/stage1/resolver.scala
index dc8837e..8dcecfc 100644
--- a/stage1/resolver.scala
+++ b/stage1/resolver.scala
@@ -89,6 +89,10 @@ trait DependencyImplementation extends Dependency{
def run( args: String* ): ExitCode = {
runClass.map( runMain( _, args: _* ) ).getOrElse{
+ // FIXME: this just doing nothing when class is not found has been repeatedly
+ // surprising. Let's try to make this more visible than just logging an error.
+ // Currently blocked on task `recursive` trying every subbuild and would error
+ // for all that don't have a run class. Maybe that's ok actually.
logger.task( "No main class found for " ++ show )
ExitCode.Success
}