Skip to content
Permalink
Browse files

add authorName default

  • Loading branch information...
manuelcueto committed Jul 26, 2019
1 parent 5d1d8a1 commit aa9a0f96aa1af3119dfdd4cd029833e835add6d1
@@ -208,7 +208,6 @@ addCommandAlias(
Seq("core/run"),
Seq("--workspace", s"$projectDir/workspace"),
Seq("--repos-file", s"$projectDir/repos.md"),
Seq("--git-author-name", "\"Scala Steward\""),
Seq("--git-author-email", s"me@$projectName.org"),
Seq("--vcs-login", projectName),
Seq("--git-ask-pass", s"$home/.github/askpass/$projectName.sh"),
@@ -6,7 +6,6 @@ sbt stage
./modules/core/.jvm/target/universal/stage/bin/scala-steward \
--workspace "$STEWARD_DIR/workspace" \
--repos-file "$STEWARD_DIR/repos.md" \
--git-author-name "Scala steward" \
--git-author-email ${EMAIL} \
--vcs-api-host "https://api.github.com" \
--vcs-login ${LOGIN} \
@@ -25,7 +24,6 @@ sbt docker:publishLocal
docker run -v $STEWARD_DIR:/opt/scala-steward -it fthomas/scala-steward:latest \
--workspace "/opt/scala-steward/workspace" \
--repos-file "/opt/scala-steward/repos.md" \
--git-author-name "Scala steward" \
--git-author-email ${EMAIL} \
--vcs-api-host "https://api.github.com" \
--vcs-login ${LOGIN} \
@@ -67,7 +65,6 @@ run
--workspace "/path/workspace" \
--repos-file "/path/repos.md" \
--git-ask-pass "/path/pass.sh" \
--git-author-name "Scala Steward" \
--git-author-email "email@example.org" \
--vcs-type "gitlab" \
--vcs-api-host "https://gitlab.com/api/v4/" \
@@ -35,7 +35,7 @@ object Cli {
final case class Args(
workspace: String,
reposFile: String,
gitAuthorName: String,
gitAuthorName: String = "Scala Steward",
gitAuthorEmail: String,
vcsType: SupportedVCS = SupportedVCS.GitHub,
vcsApiHost: Uri = uri"https://api.github.com",
@@ -14,7 +14,6 @@ class CliTest extends FunSuite with Matchers {
List(
List("--workspace", "a"),
List("--repos-file", "b"),
List("--git-author-name", "Scala Steward"),
List("--git-author-email", "d"),
List("--vcs-type", "gitlab"),
List("--vcs-api-host", "http://example.com"),
@@ -29,10 +28,9 @@ class CliTest extends FunSuite with Matchers {
Cli.Args(
workspace = "a",
reposFile = "b",
gitAuthorName = "Scala Steward",
gitAuthorEmail = "d",
vcsType = SupportedVCS.Gitlab,
uri"http://example.com",
vcsApiHost = uri"http://example.com",
vcsLogin = "e",
gitAskPass = "f",
ignoreOptsFiles = true,
@@ -16,7 +16,6 @@ java -DROOT_LOG_LEVEL=INFO -DLOG_LEVEL=INFO -jar ${JAR} \
--workspace "$STEWARD_DIR/workspace" \
--repos-file "$STEWARD_DIR/repos.md" \
--prune-repos \
--git-author-name "Scala Steward" \
--git-author-email "me@$LOGIN.org" \
--vcs-login ${LOGIN} \
--git-ask-pass "$HOME/.github/askpass/$LOGIN.sh" \

0 comments on commit aa9a0f9

Please sign in to comment.
You can’t perform that action at this time.