Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 2015 11:10
    japgolly commented #2066
  • Jun 22 2015 08:25
    keepscoding commented #2044
  • Jun 21 2015 03:24
    xerial commented #157
  • Jun 21 2015 00:10
    eed3si9n unlabeled #2057
  • Jun 21 2015 00:10

    eed3si9n on 0.13

    Adds bundledLauncherProj to all… Remove launcher tests Add unit tests to Travis and 3 more (compare)

  • Jun 21 2015 00:10
    eed3si9n closed #2057
  • Jun 21 2015 00:10

    eed3si9n on fixbuild

    (compare)

  • Jun 20 2015 18:42
    eed3si9n synchronize #2057
  • Jun 20 2015 18:42

    eed3si9n on fixbuild

    Fix typo (compare)

  • Jun 20 2015 18:23

    eed3si9n on fixbuild

    Adds bundledLauncherProj to all… Remove launcher tests Add unit tests to Travis and 1 more (compare)

  • Jun 20 2015 18:23
    eed3si9n synchronize #2057
  • Jun 20 2015 14:59

    eed3si9n on scalaversionbump

    (compare)

  • Jun 20 2015 14:59

    eed3si9n on 0.13

    Bumping up Scala version to 2.1… Try to keep bincompat Fixes #1666 and 1 more (compare)

  • Jun 20 2015 14:59
    eed3si9n unlabeled #2068
  • Jun 20 2015 14:59
    eed3si9n closed #2068
  • Jun 20 2015 14:59
    eed3si9n closed #1666
  • Jun 20 2015 14:57
    eed3si9n commented #2068
  • Jun 20 2015 12:55
    dwijnand commented #2068
  • Jun 20 2015 04:51
    eed3si9n synchronize #2068
  • Jun 20 2015 04:51

    eed3si9n on scalaversionbump

    Fixes #1666 (compare)

eugene yokota
@eed3si9n
yea. so I guess you can just define a dynamic task with foo.result.value and then compile
Anusha Mallampati
@anushaML
Then compile would not execute* if foo results in a error, no?
eugene yokota
@eed3si9n
if you use .result it should work
Jorge
@jvican
@eed3si9n Great post.
Anusha Mallampati
@anushaML
@eed3si9n will give it a try. thanks!
Nathan Canning
@ncanning
@shajra it's for a bit of a weird project, but scala meta. I'm trying to do some code generation with scalafix, and for debugging purposes, it's nice to have access to scala meta in the sbt console. But I don't really want to include it in my builds, since it's only used for development
The ruby/bundler use cases are a bit more obvious, tools like pry for debugging aren't necessary for production purposes, but are nice to have for development. Not sure if there's anything like pry in scala, but that would be another good use for development only libraries in sbt
Sukant Hajra
@shajra
@ncanning can you just make a separate project that pulls in your dependencies, but one that you don't publish?
I'm about to dig into SBT source/docs... but is there an "inScope" shorthand for inTask(compile)(inConfig(Compile)(...))?
eugene yokota
@eed3si9n
inTask is a short hand for inScope
you can define the scope you want and use inScope or just do what you're already doing
Sukant Hajra
@shajra
I was hoping there was a DSL to create Scopes easily.
like we do with "in"
Wait would it be inScope(This in (Compile, compile)) { ... }?
eugene yokota
@eed3si9n
yea
I prefer ThisScope instead of conflating scope component with a scope
but I think you got it
Sukant Hajra
@shajra
Okay, but ThisScope in compile doesn't work... so close.
eugene yokota
@eed3si9n
(ThisScope in compile.key) maybe
Sukant Hajra
@shajra
oh, I see.
yeah, I don't know the hierarchy still.
eugene yokota
@eed3si9n
that key thing is there almost because of the way sbt splits up subprojects into dozens of modules
Sukant Hajra
@shajra
totally compiles... we'll see if it works.
eugene yokota
@eed3si9n
there was a suggestion by @muuki88 to be able to write that as Compile / compile / seq( ... ). that might be interesting
Sukant Hajra
@shajra
@eed3si9n could you expand on the difference between This and ThisScope? Are they equivalent as implemented?
eugene yokota
@eed3si9n
ThisScope = (This, This, This, This)
but there's a stupid implicit conversion that converts from This to ThisScope that I hate
Sukant Hajra
@shajra
Ah, I see, yeah... death to type coercion.
eugene yokota
@eed3si9n
that one in particular confuses dimension and impedes understanding imho
i am mad about Global enough, that I've renamed it to Zero
so GlobalScope = (Zero, Zero, Zero, Zero)
Adelbert Chang
@adelbertc
@jvican interesting, ill give that a look - thanks!
Jorge
@jvican
I'm having problems to resolve sbt-scripted
Is someone having the same problems too?
Igmar Palsenberg
@igmar
Is there any documentation on dependency resolving in modules
?
Jorge
@jvican
No
Documentation is code for now in 0.13.x series (this is going to change for 1.0.x, at least that's the plan)
If you want to see code to use ivy, see BaseIvySpecification
Another interesting source file is Defaults.scala
Sukant Hajra
@shajra
@eed3si9n I can kind of see the name Zero as the identity element of a monoid. But I wonder if the name will confuse people in a "build system" sense.
eugene yokota
@eed3si9n
I like zero because it reminds me of x, y, and z axes on 3D graph
we keep using the "axis" metaphor in the doc, zero makes it intruitive that its one of the values, nothing magical
much like This, you wouldn't come across Zero literally in build.sbt
one would just say foo in Global or Global / foo
Sukant Hajra
@shajra
Oh, I see. It's the origin.
ritschwumm
@ritschwumm
eugene yokota
@eed3si9n
yea
i caught it at some point in draft but the mouse returned in the final :)