| 29 | |
| 30 | To prepare to run modularization on a local machine: |
| 31 | |
| 32 | {{{ |
| 33 | #!sh |
| 34 | # get the the modularized boost superproject |
| 35 | git clone http://github.com/boost-libs/boost modules |
| 36 | |
| 37 | # Update all the submodules |
| 38 | cd modules |
| 39 | git submodule update --init # takes a couple of minutes |
| 40 | cd .. |
| 41 | |
| 42 | # get the boost svn mirror |
| 43 | git clone http://github.com/ryppl/boost-svn # takes a couple of minutes |
| 44 | |
| 45 | # get the modularization script |
| 46 | git clone http://github.com/ryppl/boost-modularize |
| 47 | }}} |
| 48 | |
| 49 | To do the modularization once you've prepared these repositories: |
| 50 | |
| 51 | {{{ |
| 52 | #!sh |
| 53 | cd boost-modularize |
| 54 | python -u modularize.py --src=../boost-svn --dst=../modules setup |
| 55 | python -u modularize.py --src=../boost-svn --dst=../modules update |
| 56 | }}} |
| 57 | |
| 58 | You won't want to do this, but the automated process goes on to update the [http://github.com/boost-libs modularized state at GitHub]: |
| 59 | |
| 60 | {{{ |
| 61 | #!sh |
| 62 | python -u modularize.py --src=../boost-svn --dst=../modules push |
| 63 | }}} |