1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

chore: Add a local-build.toml to make downstream packaging from sourc… (#20236)

Supercedes #20230 

Assists with https://github.com/Homebrew/homebrew-core/pull/140079

```
# To run a build using a local tree:
# 
# 0. Check out these repositories as siblings:
#
#     - https://github.com/denoland/deno
#     - https://github.com/denoland/deno_core
#     - https://github.com/denoland/rusty_v8
#
# 1. From `deno`, run: cargo --config .cargo/local-build.toml build
```
This commit is contained in:
Matt Mastracci 2023-08-24 08:46:57 -06:00 committed by GitHub
parent f9beb92818
commit 0379e1082c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
.cargo/local-build.toml Normal file
View file

@ -0,0 +1,15 @@
# To run a build using a local tree:
#
# 0. Check out these repositories as siblings:
#
# - https://github.com/denoland/deno
# - https://github.com/denoland/deno_core
# - https://github.com/denoland/rusty_v8
#
# 1. From `deno`, run: cargo --config .cargo/local-build.toml build
[patch.crates-io]
deno_core = { path = "../deno_core/core" }
deno_ops = { path = "../deno_core/ops" }
serde_v8 = { path = "../deno_core/serde_v8" }
v8 = { path = "../rusty_v8" }