Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Subprojects support #77

Open
blackandred opened this issue Jun 12, 2021 · 2 comments
Open

Subprojects support #77

blackandred opened this issue Jun 12, 2021 · 2 comments
Assignees
Milestone

Comments

@blackandred
Copy link
Contributor

A project is at root level, in subdirectories there could be subprojects that have their own tasks.
There should be a possibility to import subprojects from subdirectories into a project.

Implementation details:

  • To avoid magic, there should be explicite imports of subprojects
  • Imported tasks should be prefixed ex. :subproject1 so a task could be :subproject1:task1
  • Subproject task should be executed with a proper workdir set, to point to subproject directory
  • :tasks task should include subprojects tasks
  • Subproject-subprojects should be possible ex. :subproject1:docs:make

The functionality should work like in Gradle project.

Why, use cases:

  • Building docs, infrastructure in single projects. Docs, infrastructure is something different than whole project
  • There are projects that includes ex. server + client + mobile application. Each in separate directory, with its own build tasks
@blackandred blackandred added this to the RKD 3.0 milestone Jun 12, 2021
@blackandred blackandred self-assigned this Jun 12, 2021
@blackandred
Copy link
Contributor Author

blackandred commented Jun 18, 2021

Pipelines implementation details

Defining pipelines

:some-task :some-task2 should be for example translated to :dir1:dir2:dir3:some-task :dir1:dir2:dir3:some-task2 - assuming :dir1:dir2:dir3 is the project name due to directories inheritance.

Workdir should point to dir1/dir2/dir3

blackandred added a commit that referenced this issue Jun 21, 2021
blackandred added a commit that referenced this issue Jun 21, 2021
blackandred added a commit that referenced this issue Jun 21, 2021
blackandred added a commit that referenced this issue Jun 21, 2021
blackandred added a commit that referenced this issue Jun 22, 2021
blackandred added a commit that referenced this issue Jun 22, 2021
@blackandred
Copy link
Contributor Author

Awaiting review.

blackandred added a commit that referenced this issue May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant