aboutsummaryrefslogtreecommitdiff
path: root/stage2
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-09-13 13:51:17 +0100
committerChristopher Vogt <oss.nsp@cvogt.org>2016-09-13 13:51:17 +0100
commit356ff2ec817dbc65f27ec37e644204359ec84210 (patch)
tree6a3654b3cb6bacb45fe0862bc0ee8fff9bf66e31 /stage2
parentede10d4d0e139eb8f831b7241d29fb82d8996e73 (diff)
downloadcbt-356ff2ec817dbc65f27ec37e644204359ec84210.tar.gz
cbt-356ff2ec817dbc65f27ec37e644204359ec84210.tar.bz2
cbt-356ff2ec817dbc65f27ec37e644204359ec84210.zip
add fish shell task name completions and fix bash task name completions
Diffstat (limited to 'stage2')
-rw-r--r--stage2/BasicBuild.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index 410d68f..b2bb72b 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -25,6 +25,8 @@ trait BaseBuild extends DependencyImplementation with BuildInterface with Trigge
final def projectDirectory: File = lib.realpath(context.projectDirectory)
assert( projectDirectory.exists, "projectDirectory does not exist: " ++ projectDirectory.string )
final def usage: String = lib.usage(this.getClass, show)
+
+ final def taskNames: String = lib.taskNames(this.getClass).sorted.mkString("\n")
// ========== meta data ==========