What are the command line arguments for sbt?

I read somewhere that all the arguments for sbt are:

java -jar /home/robert/.conscript/sbt-launch.jar arg1 arg2 .. 

are the dependencies sbt needs to start with.

What about arguments starting with "@"?

The question is, I want to know how conscript works. This is just an SBT with "@ / home / robert / .conscript / n8han / conscript / cs / launchconfig" as the first argument, other command line arguments are also passed (via "$ @" in the last argument to sbt). Startconfig is a simple ini-like file:

 [app] version: 0.3.4 org: net.databinder name: conscript class: conscript.Conscript [scala] version: 2.9.1 [repositories] local scala-tools-releases maven-central [boot] directory: /home/robert/.conscript/boot 

But there is no dependency information. Moreover, the draftee has no other file (except sbt and cs runner, which is the sbt command).

+6
source share
1 answer

This page talks about Launcher configurations:

http://www.scala-sbt.org/release/docs/Sbt-Launcher.html

This way you can basically configure sbt itself, for example. add repositories where it should look by default, choose a different ivy location, etc.

+6
source

Source: https://habr.com/ru/post/905838/


All Articles