These are chat archives for sbt/sbt

9th
Mar 2016
Shane Delmore
@ShaneDelmore
Mar 09 2016 00:27
When I use sbt assembly, it copies my resources.application.conf, but not other .conf files in that folder. Is this a bug, or do I need to somehow manually tell it to copy everything in the resources folder, not just application.conf?
Richard Gomes
@frgomes
Mar 09 2016 11:10
@codingcrystal :: Have a look at makeRoot and makeModule at
https://github.com/frgomes/jquantlib/blob/master/build.sbt
Simon Hafner
@reactormonk
Mar 09 2016 11:45
How would I construct a globber that finds me all .yaml and .json files in a directory?
ixayldz
@ixayldz
Mar 09 2016 15:17
hi people
http://paste.ofcode.org/hKa4vvnvFH4gkwX3HZuHD2 i compiled my build.sbt with sbt package its automaticly find and compiled but which file i have to run now for work my project ?
ixayldz
@ixayldz
Mar 09 2016 16:34
Hello guys i am trying run this project https://github.com/Thiry1/CSGO_Match_Finder but i am getting steam auth callback error. maybe my steam api can be wrong? anyone can check pls ? this is my steam api https://github.com/Thiry1/CSGO_Match_Finder/blob/master/gomf/app/models/SteamAPI.scala and this is error codes http://paste.ofcode.org/487XavR3msS93Acc7MAXMX
Perry
@pfn
Mar 09 2016 16:37
ask @Thiry1
Simon Schäfer
@sschaef
Mar 09 2016 17:08
Does anyone know an example project on Github that shows how to create a compiler plugin and adds it to a test sbt project?
ixayldz
@ixayldz
Mar 09 2016 17:09
sschaef
do sbt package
Simon Schäfer
@sschaef
Mar 09 2016 17:11
sbt package?
Simon Hafner
@reactormonk
Mar 09 2016 17:21
maybe the kind-projector?
ixayldz
@ixayldz
Mar 09 2016 17:21
wow reactormonk u are everywhere :)
Simon Hafner
@reactormonk
Mar 09 2016 17:21
Got my IRC hooked up to gitter.
Simon Schäfer
@sschaef
Mar 09 2016 17:24
kind-projector seems to be a good starting point, thanks
Perry
@pfn
Mar 09 2016 18:14
yeah, I normally use gitter via irc bridge
Joe Arasin
@joearasin
Mar 09 2016 18:42
This message was deleted
This message was deleted
amarouni
@amarouni
Mar 09 2016 20:24
Hello guys,
I'm using sbt with the Scala Play sbt-plugin which brings with it the sbt-native-packager. I'm using a multi project setup with a root project and several child projects.
I'm wondering if it's possible to override a task from the sbt-native-packager (the docker:publishLocal) so that when called on the root project the task will publish only some of the child projects and not all of them with the root.
I've searched around and couldn't find a way to do it in a Build.scala. I cannot get to the "docker:publishLocal" task. How would you do that ?
Appreciate any help thanks,
Joe Arasin
@joearasin
Mar 09 2016 20:38
@amarouni Having the same problem here
Dale Wijnand
@dwijnand
Mar 09 2016 21:53
@amarouni that's the aggregation: project root aggregates (foo, bar, bad)
So you could drop some there..
You can also drop aggregation on a single task..
Should be something like aggregate in publishLocal in Docker := false
Joe Arasin
@joearasin
Mar 09 2016 22:40
it’s… almost working
the problem is it’s still trying to publish on root
which is weird
because it means that enablePlugin is behaving in an entirely nonsensical manner
and that’s sort of the root of this. if i’m calling enablePlugins on one project, it should not percolate to the other projects
Joe Arasin
@joearasin
Mar 09 2016 22:48
or is there a way to tell a project “When you recieve this task, noop"
Dale Wijnand
@dwijnand
Mar 09 2016 23:12
publishLocal := ()
you're literally redefining what publishLocal means within the context of that project
what do you mean by publish on root? Do you mean it's trying to publish the root project?
Joe Arasin
@joearasin
Mar 09 2016 23:21
yeah
The behavior I want is that, when in the root of my project, if I type sbt docker:publish, it publishes all projects for which enablePlugins(JavaAppPackaging) exists
As far as I can tell, one of the following is true: sbt is broken, badly designed, badly documented, or I’m just plain doing something wrong.