diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-02-26 00:33:10 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-02-26 00:33:10 -0800 |
commit | 3bdf4e0d39ffca5905808f1c465b438af7ef4a65 (patch) | |
tree | 4dbd8b0217821b783dcc645cd198c0c02bd415ee | |
parent | c7e76e929874098097b5756bde8e77d4ae5dbebb (diff) | |
download | workbench-3bdf4e0d39ffca5905808f1c465b438af7ef4a65.tar.gz workbench-3bdf4e0d39ffca5905808f1c465b438af7ef4a65.tar.bz2 workbench-3bdf4e0d39ffca5905808f1c465b438af7ef4a65.zip |
cross target -> class directory
-rw-r--r-- | Plugin.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin.scala b/Plugin.scala index 1249d3a..93d4b49 100644 --- a/Plugin.scala +++ b/Plugin.scala @@ -101,7 +101,7 @@ object Plugin extends sbt.Plugin { .replace("<host>", localUrl.value._1) .replace("<port>", localUrl.value._2.toString) .replace("<bootSnippet>", bootSnippet.value) - val outputFile = (crossTarget in Compile).value / fileName.value + val outputFile = (classDirectory in Compile).value / fileName.value IO.write(outputFile, transformed) Set(outputFile) }(Set(new File(getClass.getClassLoader.getResource("workbench_template.ts").toURI))).head |