- Dependency management tool, mostly for C# projects
- Allow get and build your projects with dependencies
- Every project is git repository
- Every project is one solution or some content module
- You should have installed git and Visual Studio or MSBuild Tools
- Download zip from https://github.com/skbkontur/cement/releases/latest
- Unzip and run
dotnet\install.cmd
- Restart terminal
- Command
cm
should show you aviable commands in any directory
Use cm help
to see all cement commands.
Use cm %command_name% /?
or cm help %command_name%
to see command description.
All modules description stored in special git repo.
At start your cement will use sample modules from https://github.com/KungA/cement-sample-modules/blob/master/modules
Command cm ls
should shows modules A, B, C, D.
Lets run some commands to get and build module A, which use modules B, C, D.
All modules should be downloaded into one 'cement tracked' directory.
Download module A with deps B, C, D.
Go to module directory.
Build dependencies for current module in right order.
Build current module. You can use it now.
Get latest versions of dependencies from git
Need to build new version of modules, which were changed.
And current module.
-
Specify git repo witch will contain all modules description like https://github.com/KungA/cement-sample-modules
-
Add empty
modules
file to it and push -
Fill it into
%userprofile%\.cement\settings
file instead of[email protected]:KungA/cement-sample-modules.git
-
Create repositories for your modules like
https://github.com/KungA/cement-sample-A
https://github.com/KungA/cement-sample-B
-
Run
cm module add A [email protected]:KungA/cement-sample-A.git
to add your modules to cement -
Fill
module.yaml
file, describing cement modules