-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/9/submodule update #12
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
Conversation
lazy val repos = List("delphi-webapi", "delphi-crawler", "delphi-cli", "delphi-management") | ||
lazy val delphiRepos = "repos" | ||
|
||
def cloneAll = Command.command("clone-all") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clone is not linked to compile scope. Since it is a one time operation
|
||
} | ||
|
||
Compile / compile := ((Compile / compile) dependsOn pull).value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The run command by default pull latest changes
commands += delete | ||
lazy val root = (project in file(".")) | ||
.aggregate(cli, crawler, management, webapi, webapp) | ||
.aggregate(crawler,webapi,cli,management,webapp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repos
is directory containing all git components. It is added .gitignore
. clone-all
command clones the repositories/
Removed git submodules and convert it to sbt tasks
https://github.com/delphi-hub/delphi/blob/Feature/9/SubmoduleUpdate/build.sbt