sbt, the interactive build tool
Go to file
Ethan Atkins 27e93601b5 Add warning for slow hostname lookups on OS X
I spent a lot of time debugging why it took 5 seconds to run tests each
time. It turns out that if the hostname is not set explicitly on os x,
then getaddrinfo takes 5 seconds to try (and fail) to resolve the dns
entry for the localhostname. This is easily fixed by setting the
hostname, but it is not at all easy to figure out that a slow hostname
lookup is the reason why tests are slow to start.

I don't know if this is a common issue on other platforms, so only issue
the warning on OS X.
2018-06-06 10:53:46 -07:00
core-macros/src/main/scala/sbt/internal/util/appmacro Run scalafmt & test:scalafmt 2018-04-24 16:12:10 +01:00
internal Run scalafmt & test:scalafmt 2018-04-24 16:12:10 +01:00
launch Adds sbt.boot.lock sysprop to opt-out 2018-02-08 13:02:39 +00:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Add warning for slow hostname lookups on OS X 2018-06-06 10:53:46 -07:00
main-actions/src Merge branch '1.1.x' into wip/merge-1.1.x 2018-04-29 14:31:30 -04:00
main-command/src/main Merge branch '1.1.x' into wip/merge-1.1.x 2018-04-29 14:31:30 -04:00
main-settings/src Merge branch '1.1.x' into wip/merge-1.1.x 2018-04-29 14:31:30 -04:00
notes [alodavi/improving_loading_settings_messaging] added notes on the Pr 2018-05-15 14:44:00 +02:00
project Merge branch '1.1.x' into wip/merge-1.1.x 2018-05-04 21:55:50 -04:00
protocol/src/main Run scalafmt & test:scalafmt 2018-04-24 16:12:10 +01:00
run Run scalafmt & test:scalafmt 2018-04-24 16:12:10 +01:00
sbt/src use stringly-typed key so we can define it machine-wide 2018-05-30 00:59:12 -04:00
scripted use stringly-typed key so we can define it machine-wide 2018-05-30 00:59:12 -04:00
src/main/conscript 1.1.1 launchconfig 2018-02-08 13:08:21 -05:00
tasks Merge branch '1.1.x' into wip/merge-1.1.x 2018-04-29 14:31:30 -04:00
tasks-standard Run scalafmt & test:scalafmt 2018-04-24 16:12:10 +01:00
testing Add warning for slow hostname lookups on OS X 2018-06-06 10:53:46 -07:00
vscode-sbt-scala Fix VS Code extension startup 2018-04-30 22:50:23 -04:00
.appveyor.yml improve Windows build 2018-02-07 18:16:21 -05:00
.gitattributes Exclude contraband generated files from diff by default 2017-12-14 12:25:49 +00:00
.gitignore Re-write toolboxClasspath to use sbt-buildinfo 2018-02-23 13:20:19 +00:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.scalafmt.conf Improve code clarity with danglingParentheses = true 2018-04-24 16:09:49 +01:00
.travis.yml jabba 0.10.1 2018-05-30 00:16:27 -04:00
CONTRIBUTING.md Merge branch '1.1.x' into wip/merge-1.1.x 2018-05-04 12:40:43 -04:00
ISSUE_TEMPLATE.md Restore references to CONTRIBUTING, with checkbox 2018-04-25 17:08:41 +01:00
LICENSE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00
NOTICE Add, configure & enforce file headers 2017-10-05 09:03:40 +01:00
PROFILING.md Move PROFILING out of CONTRIBUTING 2018-04-25 14:50:17 +01:00
PULL_REQUEST_TEMPLATE.md Restore references to CONTRIBUTING, with checkbox 2018-04-25 17:08:41 +01:00
README.md update README. s/1.0.x/1.x/ 2018-02-13 10:00:50 +09:00
SUPPORT.md Split support into SUPPORT.md 2018-04-25 14:55:09 +01:00
build.sbt Merge branch '1.1.x' into wip/merge-1.1.x 2018-04-29 14:31:30 -04:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt-allsources.sh Bump underlying modules to latest 2017-03-23 12:41:24 -04:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

Gitter Chat

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see http://www.scala-sbt.org/.

sbt 1.x

This is the 1.x series of sbt. The source code of sbt is split across several Github repositories, including this one.

  • sbt/io hosts sbt.io module.
  • sbt/util hosts a collection of internally used modules.
  • sbt/librarymanagement hosts sbt.librarymanagement module that wraps Ivy.
  • sbt/zinc hosts Zinc, an incremental compiler for Scala.
  • sbt/sbt, this repository hosts modules that implements the build tool.
  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try searching or asking on StackOverflow.

license

See LICENSE.