These are chat archives for sbt/sbt

2nd
Jul 2015
bjenkinsgit
@bjenkinsgit
Jul 02 2015 01:02
@eed3si9n You're the author of sbt-appengine, right? If so, how can I create a task dependency between appengineTemporaryWarPath and fastOptJS so that whenever I want to exec the 'packageWar' task, it will automatically check to see if fastOptJS needs to run?
eugene yokota
@eed3si9n
Jul 02 2015 01:26
@bjenkinsgit I am the author of sbt-appengine, but I know little about the plugin. and i have no idea what fastOptJS, which I am assuming is from some other plugin
eugene yokota
@eed3si9n
Jul 02 2015 01:32
Denis Mikhaylov
@notxcain
Jul 02 2015 07:26
Hi! I have a bunch of libraries as part of my project. Each have its own repo in git. Is there a way to share common build settigs like scalacOptions etc. ?
Dale Wijnand
@dwijnand
Jul 02 2015 07:57
you could write a little sbt plugin for your project
Denis Mikhaylov
@notxcain
Jul 02 2015 08:37
Thanks. I’ve figured it out already )
bjenkinsgit
@bjenkinsgit
Jul 02 2015 11:16
@eed3si9n Ok, I figured it out: packageWar <<= (packageWar in Compile) dependsOn (fastOptJS in Compile)
@eed3si9n fastOptJS is a task provided by the Scala-JS community. Scala-JS allows one to write Scala code that then gets translated into JavaScript for use in web applications. I needed to be able to take the .js files that were output from the fastOptJS task and place them down inside of the target webapp location into which packageWar puts things.
Dale Wijnand
@dwijnand
Jul 02 2015 16:44
Interested to know if there's a better answer: http://stackoverflow.com/a/31190247/463761
Josh Suereth
@jsuereth
Jul 02 2015 17:32
man, tobias' microphone is sooooo smooth on that interview
@dwijnand I don't know of a simpler one, no....