Skip to content

Commit

Permalink
Commit the submodule (#67)
Browse files Browse the repository at this point in the history
Summary:
This is part 1 of a 3 part series of diffs:
1. Update the submodule to be checked in instead of providing instructions in a doc
2. Update the buck2 binary to use OSS dotslash
3. Remove the prelude submodule completely (depends on some other changes to buck2 that haven't released yet)

Pull Request resolved: #67

Reviewed By: shayne-fletcher

Differential Revision: D54079450

Pulled By: bigfootjon

fbshipit-source-id: 031e89f4be64b48e5f49b34e3bf8691560e90384
  • Loading branch information
bigfootjon authored and facebook-github-bot committed Feb 22, 2024
1 parent 34ba3d7 commit 005b653
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "prelude"]
path = prelude
url = https://github.com/facebook/buck2-prelude.git
7 changes: 0 additions & 7 deletions README-BUCK.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,8 @@ Instructions on how to setup a Buck2 build of ocamlrep. More Buck2 information &
- Initialize a Buck2 prelude Git submodule.

```bash
git submodule add https://github.com/facebook/buck2-prelude.git prelude
git submodule update --init
```
- Checkout the prelude at the right commit.

```bash
prelude_hash=$(curl https://github.com/facebook/buck2/releases/download/latest/prelude_hash)
(cd prelude && git checkout $prelude_hash)
```

### Reindeer
[Reindeer](https://github.com/facebookincubator/reindeer) is a tool to generate Buck2 rules for Rust crates.
Expand Down
1 change: 1 addition & 0 deletions prelude
Submodule prelude added at b8851f

0 comments on commit 005b653

Please sign in to comment.