GithubHelp home page GithubHelp logo

sbt-sound's People

Contributors

orrsella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sbt-sound's Issues

And SBT 1.0.2 for 0.12.x

It seems 1.0.2 is only available for SBT 0.13, while 1.0.1 is only available for 0.12, unlike suggested by the README?
It would be cool to have the same release number be cross-built across different SBT releases.
Below the error I get with 1.0.2 on SBT 0.12.

warn]   ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.orrsella#sbt-sound;1.0.2: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.orrsella:sbt-sound:1.0.2 (sbtVersion=0.12, scalaVersion=2.9.2)

Long sound does not play till the end

As written in the README, I added the line to play sound after compilation is done:
sound.play(compile in Compile, "meow_futurama.wav")

The problem is that only a small portion of the sound - around 0.5 seconds from the beginning - is played (the sound is longer). I tested with play, it plays without issues.

Possible issues (or usage issue) with sbt 13.9?

This is an awesome idea and very well thought of implementation (!).
Looks (sounds) like the sounds go off just when the task started, rather than at its end. I'm using sbt 0.13.9, scala 2.11.7. I think this is related to using this plugin on a multi-build project. Maybe it is calling the sound after the first sub-project is done.

Also getting no sound at all for +compile or ~+compile.

Is any of this coming from some known reason? maybe a link to a multi-project build using it would help.

My sbt setup for the plugin (in addition to plugins.sbt) is probably quite standard -

 sound.play(compile in Compile, Sounds.Blow, Sounds.Tink)
 sound.play(test in Test, Sounds.Blow, Sounds.Ping)
 sound.play(publishLocal, Sounds.Blow, Sounds.Ping)

How to use it with sbt-revolver?

Doesn't compile with:

sound.play(reStart in backend, Sounds.Basso, Sounds.Pop) // play the 'Pop' sound only when compile fails
error: overloaded method value play with alternatives:
  [T](t: sbt.TaskKey[T], suc: com.orrsella.sbtsound.SbtSound.Sound, fail: com.orrsella.sbtsound.SbtSound.Sound)sbt.Setting[sbt.Task[T]] <and>
[error  [T](t: sbt.TaskKey[T], suc: String, fail: String)sbt.Setting[sbt.Task[T]] <and>
] Type error in expression
  [T](t: sbt.TaskKey[T], suc: com.orrsella.sbtsound.SbtSound.Sound, fail: String)sbt.Setting[sbt.Task[T]] <and>
  [T](t: sbt.TaskKey[T], suc: String, fail: com.orrsella.sbtsound.SbtSound.Sound)sbt.Setting[sbt.Task[T]]
 cannot be applied to (sbt.InputKey[spray.revolver.AppProcess], com.orrsella.sbtsound.SbtSound.Sounds.Basso.type, com.orrsella.sbtsound.SbtSound.Sounds.Pop.type)
sound.play(reStart in backend, Sounds.Basso, Sounds.Pop)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.