d3t-distribution / project-dependencies
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/d3t-distribution/project-dependencies
This package is not auto-updated.
Last update: 2025-12-28 10:26:17 UTC
README
Table of Contents
About The Project
This project allows to easily manage dependencies between projects.
Built With
Getting Started
Prerequisites
On your machine you must have :
- Make
- Docker
Installation
Create a .dependencies file that must be in JSON format.
Here is an example of a file with a dependency.
{
"my-project-name": {
"path": "my-project-path",
"repository": "git@github.com:my-project.git"
}
}
path must be relative to the parent directory.
repository git repository url.
Then edit your project make to add the following lines :
DEPENDENCIES= CMD_start = docker run -ti --rm -v $(PWD)/../:/mnt/projects/ -e PROJECTNAME=my-project-name -e COMMAND=start -e DEPENDENCIES=${DEPENDENCIES} d3tdistribution/projet-dependencies start: env $(shell ${CMD_start})
PROJECTNAME is the name of the project.
COMMAND is the command to execute for the dependent projets.
DEPENDENCIES is the list of dependent projects already started in order to avoid project circular dependencies.
Roadmap
- Clone dependencies repositories
- Change dependencies.json to .dependencies file
- Support .dependencies.local file
- Support absolute path
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt for more information.