Skip to content

Conversation

hariharansrc
Copy link
Member

Removed git submodules and convert it to sbt tasks
https://github.com/delphi-hub/delphi/blob/Feature/9/SubmoduleUpdate/build.sbt

@ghost ghost assigned hariharansrc Oct 10, 2018
@ghost ghost added the review label Oct 10, 2018
@hariharansrc hariharansrc requested a review from bhermann October 10, 2018 11:54
lazy val repos = List("delphi-webapi", "delphi-crawler", "delphi-cli", "delphi-management")
lazy val delphiRepos = "repos"

def cloneAll = Command.command("clone-all") {
Copy link
Member Author

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
Copy link
Member Author

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)
Copy link
Member Author

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/

@bhermann bhermann merged commit b7a79ea into develop Oct 11, 2018
@ghost ghost removed the review label Oct 11, 2018
@bhermann bhermann deleted the Feature/9/SubmoduleUpdate branch October 11, 2018 12:12
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.

2 participants