savant-build / savant-core

This is the main project for the Savant build tool
http://savantbuild.org
Apache License 2.0
10 stars 2 forks source link

Invalid target message prints twice on the console #2

Closed robotdan closed 10 years ago

robotdan commented 10 years ago

When requesting a build target that does not exist, the correct message is issued twice.

$ sb compile
Invalid target [compile]
Invalid target [compile]
$ sb --listTargets
Targets in the project build file:

  test: Runs the project's tests
  release: Releases a full version of the project
  idea: Updates the IntelliJ IDEA module file
  clean: Does nothing. Exists for scripting
  bundle: Generates the ZIP bundles
  int: Releases a local integration build of the project

Expected output:

$ sb compile
Invalid target [compile]
voidmain commented 10 years ago

Fixed this in 0.2.2