From: Ignacio Taranto Date: Fri, 25 Jul 2025 19:46:22 +0000 (-0300) Subject: Update sbt help (#487) X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/032b172296b664fa618cfd66342ca9c7271344cc Update sbt help (#487) This is based on sbt's official documentation: https://www.scala-sbt.org/1.x/docs/Command-Line-Reference.html Additionally, there were some other suggestions for setting `SBT_OPTS` in this issue: https://github.com/sbt/sbt/issues/3681 --- diff --git a/programs/sbt.json b/programs/sbt.json index fdfc912..a8d8e5a 100644 --- a/programs/sbt.json +++ b/programs/sbt.json @@ -1,15 +1,15 @@ { - "name": "sbt", "files": [ { - "path": "$HOME/.sbt", + "help": "Export the following environment variable:\n\n```bash\nexport SBT_OPTS=\"\\\n-Dsbt.global.base=${XDG_DATA_HOME}/sbt/1.0 \\\n-Dsbt.boot.directory=${XDG_CACHE_HOME}/sbt/boot \\\n-Dsbt.repository.config=${XDG_CACHE_HOME}/sbt/repositories \\\n-Dsbt.ivy.home=${XDG_CACHE_HOME}/ivy2\"\n```\n\nSee https://github.com/sbt/sbt/issues/3681 for more information.\n", "movable": true, - "help": "Alias sbt to use correct locations:\n\n```bash\nalias sbt=\"sbt -ivy $XDG_DATA_HOME/ivy2 -sbt-dir $XDG_DATA_HOME/sbt\"\n```\n" + "path": "$HOME/.sbt" }, { - "path": "$HOME/.ivy2", + "help": "Export the following environment variable:\n\n```bash\nexport SBT_OPTS=\"\\\n-Dsbt.global.base=${XDG_DATA_HOME}/sbt/1.0 \\\n-Dsbt.boot.directory=${XDG_CACHE_HOME}/sbt/boot \\\n-Dsbt.repository.config=${XDG_CACHE_HOME}/sbt/repositories \\\n-Dsbt.ivy.home=${XDG_CACHE_HOME}/ivy2\"\n```\n\nSee https://github.com/sbt/sbt/issues/3681 for more information.\n", "movable": true, - "help": "Alias sbt to use correct locations:\n\n```bash\nalias sbt=\"sbt -ivy $XDG_DATA_HOME/ivy2 -sbt-dir $XDG_DATA_HOME/sbt\"\n```\n" + "path": "$HOME/.ivy2" } - ] -} + ], + "name": "sbt" +} \ No newline at end of file