cheleb / sbt-dart-plugin

sbt-dart-plugin (dart2js)
22 stars 5 forks source link

Error message indicates wrong environment variable #2

Closed cessationoftime closed 10 years ago

cessationoftime commented 10 years ago

The error message indicates the DART_HOME environment variable should be defined. When it should actually indicate the DART_SDK environment variable needs to be defined

https://github.com/cheleb/sbt-dart-plugin/blob/master/src/main/scala/sbt/DartProcessor.scala#L17

    val DART_SDK = System.getenv("DART_SDK")
    if (DART_SDK == null) {
      sys.error("DART_HOME env variable must be defined!")
cheleb commented 10 years ago

Fixed in the master, thx for reporting.