mirror of https://github.com/sbt/sbt.git
Merge pull request #5757 from eatkins/thin-client-scala
Build thin client with scala 2.12.11
This commit is contained in:
commit
d3ffd33e17
|
|
@ -1100,6 +1100,7 @@ lazy val sbtClientProj = (project in file("client"))
|
|||
.dependsOn(commandProj)
|
||||
.settings(
|
||||
commonBaseSettings,
|
||||
scalaVersion := "2.12.11", // The thin client does not build with 2.12.12
|
||||
publish / skip := true,
|
||||
name := "sbt-client",
|
||||
mimaPreviousArtifacts := Set.empty,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#compdef sbtn
|
||||
|
||||
COMPLETE="--completions=${words[@]}"
|
||||
COMPLETIONS=($(sbtc --no-tab ${COMPLETE}))
|
||||
COMPLETIONS=($(sbtn --no-tab ${COMPLETE}))
|
||||
_alternative 'arguments:custom arg:($COMPLETIONS)'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
_do_sbtn_completions() {
|
||||
COMPREPLY=($(sbtc "--completions=${COMP_LINE}"))
|
||||
COMPREPLY=($(sbtn "--completions=${COMP_LINE}"))
|
||||
}
|
||||
|
||||
complete -F _do_sbtn_completions sbtn
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function __sbtcomp
|
||||
sbtc --completions="$argv"
|
||||
sbtn --completions="$argv"
|
||||
end
|
||||
complete --command sbtn -f --arguments '(__sbtcomp (commandline -cp))'
|
||||
|
|
|
|||
Loading…
Reference in New Issue