Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sbt 0.13] Rename early command to early(command) #2742

Merged
merged 2 commits into from
Sep 15, 2016

Conversation

eed3si9n
Copy link
Member

Backports #2741, Fixes #1041

e93c445 added a feature called early command, which uses -- as a
prefix to denote some commands that runs ahead of session loading.
While the feature might be useful especially for logging, -- is too
useful just for this purpose.

In addition, this adds log level commands with single -, such as
-error to treat them as early commands; and keeps -- variant for log
level for backward compatibility. Build users are strongly encouraged to migrate to the single hyphen option.

/review @dwijnand, @Duhemm

Backports sbt#2741, Fixes sbt#1041

e93c445 added a feature called early command, which uses `--` as a
prefix to denote some commands that runs ahead of session loading.
While the feature might be useful especially for logging, `--` is too
useful just for this purpose.

In addition, this adds log level commands with single `-`, such as
-error to treat them as early commands; and keeps `--` variant for log
level for backward compatibility.
@eed3si9n eed3si9n added this to the 0.13.13 milestone Sep 15, 2016
@dwijnand dwijnand merged commit 8f2a5a6 into sbt:0.13 Sep 15, 2016
@eed3si9n eed3si9n deleted the wip/early2 branch September 16, 2016 15:04
eed3si9n added a commit to eed3si9n/sbt-launcher-package that referenced this pull request Apr 6, 2018
`-debug` is a legitimate command since 0.13.13, but it's been impossible to use it because Bash eats it. This allows log level to be set to debug level. (similar to `-warn` setting to warn level)

Ref sbt/sbt#2742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants