https://github.com/rspec/rspec-monorepo-prototype
Temporary prototype to verify ideas for monorepo RFC
https://github.com/rspec/rspec-monorepo-prototype
Last synced: 8 months ago
JSON representation
Temporary prototype to verify ideas for monorepo RFC
- Host: GitHub
- URL: https://github.com/rspec/rspec-monorepo-prototype
- Owner: rspec
- Created: 2018-03-13T16:58:21.000Z (over 8 years ago)
- Default Branch: setup
- Last Pushed: 2020-08-01T20:21:37.000Z (almost 6 years ago)
- Last Synced: 2025-03-20T09:39:25.158Z (about 1 year ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 2
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# RSpec MonoRepo Prototype
This is based off the rfc proposal, work done by @xshay https://github.com/rspec/rspec-core/issues/2509
and @p8 in https://github.com/rspec/rspec/pull/48
# Usage
**Important** This script will execute `rm` against rspec sibling repos, e.g. `rspec/mono` will delete `rspec/rspec-core`
**ENSURE YOU RUN THIS IN AN OTHERWISE EMPTY PARENT REPO**
Also note that this script is history destroying for this repo. PRs containing RSpec commits are not possible as far as I can see.
1) Checkout this repo into an empty dir e.g.
```shell
mkdir -p ~/code/rspec-prototype/mono
cd ~/code/rspec-prototype/mono
git clone https://github.com/rspec/rspec-monorepo-prototype.git .
```
2) Ensure you have a base tag with `git tag -f "mono_repo_base"`
3) Run `ruby merge.rb`