-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce next-dev-tests to rebuild automatically on test input chang…
…es (#3288) I verified that the crate is rebuilt if I make a change of inputs. Co-authored-by: Tobias Koppers <[email protected]>
- Loading branch information
Showing
167 changed files
with
117 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[package] | ||
name = "next-dev-tests" | ||
version = "0.1.0" | ||
description = "TBD" | ||
license = "MPL-2.0" | ||
edition = "2021" | ||
autobenches = false | ||
|
||
# don't publish this crate | ||
publish = false | ||
|
||
[dev-dependencies] | ||
anyhow = "1.0.47" | ||
chromiumoxide = { version = "0.4.0", features = [ | ||
"tokio-runtime", | ||
], default-features = false } | ||
futures = "0.3.25" | ||
httpmock = { version = "0.6.6", features = ["standalone"] } | ||
lazy_static = "1.4.0" | ||
mime = "0.3.16" | ||
next-core = { path = "../next-core" } | ||
next-dev = { path = "../next-dev" } | ||
once_cell = "1.13.0" | ||
owo-colors = "3" | ||
parking_lot = "0.12.1" | ||
rand = "0.8.5" | ||
regex = "1.6.0" | ||
serde = "1.0.136" | ||
serde_json = "1.0.85" | ||
test-generator = "0.3.0" | ||
tokio = { version = "1.21.2", features = ["full"] } | ||
# For matching on errors from chromiumoxide. Keep in | ||
# sync with chromiumoxide's tungstenite requirement. | ||
tungstenite = "0.17.3" | ||
turbo-malloc = { path = "../turbo-malloc", default-features = false, features = [ | ||
"custom_allocator", | ||
] } | ||
turbo-tasks = { path = "../turbo-tasks" } | ||
turbo-tasks-fs = { path = "../turbo-tasks-fs" } | ||
turbo-tasks-memory = { path = "../turbo-tasks-memory" } | ||
turbo-tasks-testing = { path = "../turbo-tasks-testing" } | ||
turbopack-cli-utils = { path = "../turbopack-cli-utils" } | ||
turbopack-core = { path = "../turbopack-core" } | ||
turbopack-dev-server = { path = "../turbopack-dev-server" } | ||
turbopack-node = { path = "../turbopack-node" } | ||
url = "2.2.2" | ||
webbrowser = "0.7.1" | ||
|
||
[build-dependencies] | ||
turbo-tasks-build = { path = "../turbo-tasks-build" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use turbo_tasks_build::rerun_if_glob; | ||
|
||
fn main() { | ||
// The test/integration crate need to be rebuilt if any test input is changed. | ||
// Unfortunately, we can't have the build.rs file operate differently on | ||
// each file, so the entire next-dev crate needs to be rebuilt. | ||
rerun_if_glob("tests/integration/*/*", "tests/integration"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dc54647
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
turbo-site – ./docs
turbopack.org
turborepo.org
www.turbo.build
turbo.vercel.app
turbo-site.vercel.sh
www.turborepo.org
turbo.build
www.turborepo.com
www.turbopack.org
turbo.vercel.sh
turbo-site-git-main.vercel.sh