From 0379e1082ceebf722193ebcca417c68fc61813cb Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 24 Aug 2023 08:46:57 -0600 Subject: [PATCH] =?UTF-8?q?chore:=20Add=20a=20local-build.toml=20to=20make?= =?UTF-8?q?=20downstream=20packaging=20from=20sourc=E2=80=A6=20(#20236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ``` --- .cargo/local-build.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .cargo/local-build.toml diff --git a/.cargo/local-build.toml b/.cargo/local-build.toml new file mode 100644 index 0000000000..a2d68e4f27 --- /dev/null +++ b/.cargo/local-build.toml @@ -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" }