Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 789 Bytes

Readme.md

File metadata and controls

24 lines (15 loc) · 789 Bytes

RSpec MonoRepo Prototype

This is based off the rfc proposal, work done by @xshay rspec/rspec-core#2509 and @p8 in rspec/rspec#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.
mkdir -p ~/code/rspec-prototype/mono
cd ~/code/rspec-prototype/mono
git clone https://github.com/rspec/rspec-monorepo-prototype.git .
  1. Ensure you have a base tag with git tag -f "mono_repo_base"

  2. Run ruby merge.rb