From cda3ff46f246f4364824bc0b5182b2a3256498ca Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 25 Oct 2024 12:52:21 +0200 Subject: [PATCH] fix turbo input paths We used to list `core` instead of `oxide`, this should make sure that building Oxide works if we make changes in `oxide/`. --- turbo.json | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/turbo.json b/turbo.json index 9dbd52890..a7f1dc264 100644 --- a/turbo.json +++ b/turbo.json @@ -3,29 +3,41 @@ "ui": "tui", "tasks": { "@tailwindcss/oxide#build": { - "dependsOn": ["^build"], - "outputs": ["./index.d.ts", "./index.js", "./*.node"], + "dependsOn": [ + "^build" + ], + "outputs": [ + "./index.d.ts", + "./index.js", + "./*.node" + ], "inputs": [ "./src/**/*", "./build.rs", "./package.json", "./Cargo.toml", - "../core/src/**/*", - "../core/Cargo.toml", + "../oxide/src/**/*", + "../oxide/Cargo.toml", "../Cargo.toml", "../package.json" ] }, "@tailwindcss/oxide#dev": { - "dependsOn": ["^dev"], - "outputs": ["./index.d.ts", "./index.js", "./*.node"], + "dependsOn": [ + "^dev" + ], + "outputs": [ + "./index.d.ts", + "./index.js", + "./*.node" + ], "inputs": [ "./src/**/*", "./build.rs", "./package.json", "./Cargo.toml", - "../core/src/**/*", - "../core/Cargo.toml", + "../oxide/src/**/*", + "../oxide/Cargo.toml", "../Cargo.toml", "../package.json" ], @@ -33,8 +45,12 @@ "persistent": true }, "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**"] + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**" + ] }, "lint": {}, "dev": { @@ -44,5 +60,7 @@ }, // If rustup is installed outside of the default ~/.rustup directory, we need // to pass the path through to the individual rust tasks. - "globalPassThroughEnv": ["RUSTUP_HOME"] + "globalPassThroughEnv": [ + "RUSTUP_HOME" + ] }