Commit Graph

11969 Commits

Author SHA1 Message Date
Eugene Yokota 76b2ea03cd Fix mima issue 2018-06-25 22:37:22 -04:00
Eugene Yokota f3038167a5 Fork server if it's not running
Fixes https://github.com/sbt/sbt/issues/3508

This forks an instance of sbt in the background when it's not running already.

```
$ time sbt -client compile
Getting org.scala-sbt sbt 1.2.0-SNAPSHOT  (this may take some time)...
:: retrieving :: org.scala-sbt#boot-app
	confs: [default]
	79 artifacts copied, 0 already retrieved (28214kB/130ms)
[info] entering *experimental* thin client - BEEP WHIRR
[info] server was not detected. starting an instance
[info] waiting for the server...
[info] waiting for the server...
[info] server found
> compile
[success] completed
sbt -client compile  9.25s user 2.39s system 33% cpu 34.893 total
$ time sbt -client compile
[info] entering *experimental* thin client - BEEP WHIRR
> compile
[success] completed
sbt -client compile  3.55s user 1.68s system 107% cpu 4.889 total
```
2018-06-25 22:37:22 -04:00
Eugene Yokota 3eb76125e0 implement batch mode 2018-06-25 22:26:13 -04:00
Eugene Yokota 5c202a564b skip debug log 2018-06-25 22:26:13 -04:00
Eugene Yokota 1a1f530985 implement -client option 2018-06-25 22:26:13 -04:00
Eugene Yokota 18c6b04b47 Fix thin client to use LSP
Fixes https://github.com/sbt/sbt/issues/2798
2018-06-25 22:26:13 -04:00
eugene yokota 0c3a458e99
Merge pull request #4226 from driquelme/fix_ctrl_c_forked_test
Fix CTRL-C exception
2018-06-25 22:23:43 -04:00
eugene yokota 9883e44875
Merge pull request #4218 from regadas/patch-1
Add doc task to travis-ci
2018-06-25 22:22:42 -04:00
eugene yokota 5bc72f9d8b
Merge pull request #4217 from eed3si9n/wip/contrib2
Use .sbtopts to increase the RAM
2018-06-25 21:08:53 -04:00
Eugene Yokota f3b8ed2196 Use .sbtopts to increase the RAM 2018-06-25 19:40:15 -04:00
eugene yokota 3e32cf0318
Merge pull request #4229 from eed3si9n/wip/bump
IO 1.2.0-M2
2018-06-25 19:39:07 -04:00
Eugene Yokota 444f0dc8b0 Fixes scripted test 2018-06-25 18:42:06 -04:00
Eugene Yokota 14b9bd6e7a IO 1.2.0-M2
Fixes https://github.com/sbt/sbt/issues/4223
2018-06-25 17:02:32 -04:00
eugene yokota 8d15279892
Merge pull request #4221 from gpoirier/issues/2881
Inspect supports alias
2018-06-25 13:36:31 -04:00
Guillaume Poirier 59465d9e1f Adding minimal support for commands in inspect
There's also a special case for aliases that will try to resolve
the target of the alias to a task key if possible and display the
output of that key if found.

see https://github.com/sbt/sbt/issues/2881
2018-06-22 09:04:56 -04:00
Daniel Riquelme aee10cf036 Fix CTRL-C exception 2018-06-22 05:04:30 -04:00
eugene yokota a34f76bab7
Merge pull request #4220 from regadas/issue/630
Add alternative scripted filenames
2018-06-19 22:03:18 -04:00
eugene yokota 56d41ae661
Merge pull request #4216 from agaro1121/4206-fgRun-feature
Addresses #4206 - Introduces fgRun and fgRunMain
2018-06-19 22:01:10 -04:00
Filipe Regadas 0fb07a861b Add alternative scripted filenames 2018-06-19 14:59:04 -04:00
Filipe Regadas 68d6cd5338
Add doc task to travis-ci 2018-06-19 13:27:50 -04:00
Anthony Garo d62a7465ae Addresses #4206 2018-06-19 11:55:57 -04:00
eugene yokota e313193609
Merge pull request #4215 from eed3si9n/wip/contrib
Use 1.x branch
2018-06-19 10:49:12 -04:00
Eugene Yokota d07e432b4f Use 1.x branch 2018-06-19 10:47:34 -04:00
eugene yokota 5b8272b935
Merge pull request #4214 from eed3si9n/wip/bump
bump modules to 1.2.0-M1
2018-06-18 23:25:22 -04:00
Eugene Yokota ddf0f4f43d bump modules to 1.2.0-M1 2018-06-18 22:39:40 -04:00
eugene yokota 6fbb7f055a
Merge pull request #4211 from eed3si9n/wip/loadplugin
addPluginSbtFile command
2018-06-18 22:35:08 -04:00
岩松 竜也 ea93158ae3 Handle SBT_OPTS in bash 2018-06-19 01:13:31 +09:00
eugene yokota c966e01a29
Merge pull request #4213 from eed3si9n/wip/split-server-test
Split server unit test on its own
2018-06-18 10:16:41 -04:00
Eugene Yokota dc73fcfece Split server unit test on its own
Ref https://github.com/sbt/sbt/issues/4186
This is an attempt to fix the flaky server test issue.
2018-06-18 04:43:11 -04:00
eugene yokota 479ea92bd8
Merge pull request #4212 from eed3si9n/wip/open-setplugins
Open up setPlugins to private[sbt]
2018-06-18 04:05:17 -04:00
Eugene Yokota 932f911483 addPluginSbtFile command
Fixes https://github.com/sbt/sbt/issues/1502

This adds `--addPluginSbtFile=<file>` command, which adds the given .sbt file to the plugin build.
Using this mechanism editors or IDEs can start a build with required plugin.

```
$ cat /tmp/extra.sbt
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")

$ sbt --addPluginSbtFile=/tmp/extra.sbt
...
sbt:helloworld> plugins
In file:/xxxx/hellotest/
  ...
  sbtassembly.AssemblyPlugin: enabled in root
```
2018-06-18 01:50:36 -04:00
Eugene Yokota b3bcb3f47d Open up setPlugins to private[sbt]
This would make it easier for projectMatrix to be a plugin.
2018-06-18 00:36:43 -04:00
eugene yokota a6ae813b7c
Merge pull request #4202 from eed3si9n/wip/houserules
sbt-houserules 0.3.7
2018-06-15 16:12:28 -04:00
eugene yokota f3618c74b6
Merge pull request #4205 from sbt/1.1.x
Merge 1.1.x
2018-06-15 15:33:02 -04:00
eugene yokota 21db286766
Merge pull request #4204 from eed3si9n/wip/fix-shutdownhook
Remove the shutdown hook when it's done
2018-06-14 07:21:31 -04:00
Eugene Yokota e3c9eb0cd9 Remove the shutdown hook when it's done 2018-06-14 05:12:36 -04:00
Eugene Yokota 8ec0e0193e sbt-houserules 0.3.7 2018-06-14 02:51:09 -04:00
Eugene Yokota 2b8d71ebe5 sbt-houserules 0.3.7 2018-06-14 02:01:40 -04:00
eugene yokota b643c98f29
Merge pull request #164 from eed3si9n/wip/merge-1.1.x
Merge 1.1.x
2018-06-14 01:57:02 -04:00
eugene yokota 34f0b2c4ea
Merge pull request #231 from jiminhsieh/fix-sbt-help-throw-error
Fix `sbt -help` throw syntax error
2018-06-14 01:49:15 -04:00
Eugene Yokota 2b52c7dea0 Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-14 01:11:49 -04:00
eugene yokota 9b8648519f
Merge pull request #4198 from eed3si9n/wip/offline-props
-Dsbt.offline sets offline setting
2018-06-14 01:09:32 -04:00
eugene yokota 8dbe9204d3
Merge pull request #162 from xuwei-k/adapted-args
fix adapted argument warning
2018-06-13 11:53:44 -04:00
eugene yokota 51ee6fc409
Merge pull request #4194 from veera83372/1.1.x
Fix for #4191 (active.json should be removed on JVM shutdown)
2018-06-13 11:25:18 -04:00
eugene yokota ca6115da55
Merge pull request #4187 from mcanlas/sort-and-indent-plugins-output
sort and indent plugins output in "about" command
2018-06-13 04:50:42 -04:00
Eugene Yokota 7b6ae46116 -Dsbt.offline sets offline setting
Fixes #771
2018-06-13 03:52:21 -04:00
eugene yokota 54ad0d865e
Merge branch '1.x' into sort-and-indent-plugins-output 2018-06-13 03:21:02 -04:00
eugene yokota 0d3d6bab02
Merge pull request #4196 from eed3si9n/wip/merge-1.1.x
Merge 1.1.x
2018-06-13 03:20:17 -04:00
Eugene Yokota 41fc25dba7 Fix scripted test 2018-06-13 02:01:17 -04:00
Eugene Yokota 86427c7ce7 Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-12 23:33:47 -04:00