You can download binary build for MacOS: https://github.com/myposter-de/monorepo-splitter/releases
- run
brew install pkg-config
- run
make install-libgit2
- run
make install
and open a new shell - create config file
<some name>.yaml
- run
splitter -c <path to your config>.yaml
- provide your github credentials when prompted
version: 0.0.3
root:
branch: feature/canvas-renderer/split
path: ~/mp/myposter
remote: origin
packages:
prefix: packages
branch: master
items:
- remote: foo
url: https://github.com/foo-de/canvas.git
path: some/path/relative/to/root/path/and/prefix
- remote: bar # if no path is provided, remote prefix with remote name will be used
url: https://github.com/bar-de/enum.git
actions:
- validate
- set-packages-dependencies
- update-configs
- write-changes
- push-changes
- split-packages
- reset