Skip to content

Commit

Permalink
Exclude shim crate from workspace default-members (vercel#2594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Nov 7, 2022
1 parent 48bb3e6 commit bcc8666
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-codestyle-filtered.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
command: check
# args: --features persistent_cache
args: --workspace

- name: Run cargo check tests
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets
args: --workspace --all-targets

- name: Count clippy warnings
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quick-test-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
timeout-minutes: 60
with:
command: nextest
args: run --release
args: run --workspace --release

test-bench:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
timeout-minutes: 120
with:
command: nextest
args: run --release --no-fail-fast
args: run --workspace --release --no-fail-fast

- name: Report github status
if: always() && github.event_name == 'pull_request'
Expand Down
30 changes: 30 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,36 @@ members = [
"xtask",
]

default-members = [
"crates/next-core",
"crates/next-dev",
"crates/node-file-trace",
"crates/swc-ast-explorer",
"crates/turbo-malloc",
"crates/turbo-tasks-build",
"crates/turbo-tasks-env",
"crates/turbo-tasks-fs",
"crates/turbo-tasks-hash",
"crates/turbo-tasks-macros",
"crates/turbo-tasks-macros-shared",
"crates/turbo-tasks-memory",
"crates/turbo-tasks-testing",
"crates/turbo-tasks",
"crates/turbopack-cli-utils",
"crates/turbopack-core",
"crates/turbopack-create-test-app",
"crates/turbopack-css",
"crates/turbopack-dev-server",
"crates/turbopack-ecmascript",
"crates/turbopack-env",
"crates/turbopack-json",
"crates/turbopack-static",
"crates/turbopack-swc-utils",
"crates/turbopack",
"crates/turbopack-tests",
"xtask",
]

[profile.release]

[profile.bench]
Expand Down

0 comments on commit bcc8666

Please sign in to comment.