GithubHelp home page GithubHelp logo

isabella232 / sbt-sriracha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbt/sbt-sriracha

0.0 0.0 0.0 6 KB

Home Page: http://eed3si9n.com/hot-source-dependencies-using-sbt-sriracha

License: MIT License

Scala 100.00%

sbt-sriracha's Introduction

sbt-sriracha

Build Status

hot sauce for your build.

This is an experimental plugin to support source/binary hybrid dependencies.

setup

In project/plugins.sbt:

addSbtPlugin("com.eed3si9n" % "sbt-sriracha" % "0.1.0")

usage

To use GitHub as hybrid dependency:

lazy val utestJVMRef = ProjectRef(uri("git://github.com/eed3si9n/utest.git#5b19f47c"), "utestJVM")
lazy val utestJVMLib = "com.lihaoyi" %% "utest" % "0.6.4"

lazy val root = (project in file("."))
  .sourceDependency(utestJVMRef, utestJVMLib)
  .settings(
    name := "Hello world",
    testFrameworks += new TestFramework("utest.runner.Framework"),
  )

To use local repo as hybrid dependency:

lazy val utestJVMRef = ProjectRef(IO.toURI(workspaceDirectory / "utest"), "utestJVM")
lazy val utestJVMLib = "com.lihaoyi" %% "utest" % "0.6.4"

lazy val root = (project in file("."))
  .sourceDependency(utestJVMRef, utestJVMLib)
  .settings(
    name := "Hello world",
    testFrameworks += new TestFramework("utest.runner.Framework"),
  )

and clone µTest to $HOME/workspace/.

license

MIT License

sbt-sriracha's People

Contributors

eed3si9n avatar xuwei-k avatar

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.