Skip to content

Commit 57c5ade

Browse files
authored
Merge pull request #63 from qryxip/ja-all-enabled-update-deps-of-test-examples
Update the dependencies of `test-examples`
2 parents c524def + 2ebe4fc commit 57c5ade

File tree

8 files changed

+1262
-42
lines changed

8 files changed

+1262
-42
lines changed

.cargo/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[alias]
2-
test-examples = ["run", "--manifest-path", "./tools/test-examples/Cargo.toml", "--"]
2+
xtask = ["run", "--manifest-path", "./xtask/Cargo.toml", "--", "xtask"]

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
command: fmt
3939
args: -- --check
4040

41-
- name: '`cargo fmt --manifest-path ./tools/test-examples/Cargo.toml -- --check`'
41+
- name: '`cargo fmt --manifest-path ./xtask/Cargo.toml -- --check`'
4242
uses: actions-rs/cargo@v1
4343
with:
4444
command: fmt
45-
args: --manifest-path ./tools/test-examples/Cargo.toml -- --check
45+
args: --manifest-path ./xtask/Cargo.toml -- --check
4646

4747
build:
4848
strategy:
@@ -118,11 +118,11 @@ jobs:
118118
command: clippy
119119
args: --all-targets --profile test -- -D warnings
120120

121-
- name: '`cargo clippy --manifest-path ./tools/test-examples/Cargo.toml -- -D warnings`'
121+
- name: '`cargo clippy --manifest-path ./xtask/Cargo.toml -- -D warnings`'
122122
uses: actions-rs/cargo@v1
123123
with:
124124
command: clippy
125-
args: --manifest-path ./tools/test-examples/Cargo.toml -- -D warnings
125+
args: --manifest-path ./xtask/Cargo.toml -- -D warnings
126126

127127
- name: '`cargo test --all-targets --no-fail-fast`'
128128
uses: actions-rs/cargo@v1
@@ -136,7 +136,8 @@ jobs:
136136
command: run
137137
args: --release
138138

139-
- name: '`cargo test-examples`'
139+
- name: '`cargo xtask test-examples`'
140140
uses: actions-rs/cargo@v1
141141
with:
142-
command: test-examples
142+
command: xtask
143+
args: test-examples

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/tools/test-examples/Cargo.lock
21
**/target/
32
**/*.rs.bk
43
**/*~

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.1.0"
66
edition = "2018"
77

88
[workspace]
9-
exclude = ["./tools"]
9+
exclude = ["./xtask"]
1010

1111
[[bin]]
1212
name = "main"

tools/test-examples/Cargo.toml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy