Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
CI: Replace now-deprecated --all with --workspace
Browse files Browse the repository at this point in the history
`--all` was deprecated by <rust-lang/cargo#7241>.
  • Loading branch information
yvt committed Nov 8, 2019
1 parent 7e29034 commit 365c9f6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/jobs/cargo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- bash: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --package ${{ pkg }}'
displayName: "[cli flag modify]Add package to check '${{ pkg }}'"

- bash: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --all'
- bash: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --workspace'
enabled: ${{ parameters['all'] }}
displayName: "[cli flag modify]Check all packages in the workspace"

Expand Down
2 changes: 1 addition & 1 deletion ci/jobs/cargo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --package ${{ pkg }}'
displayName: "[cli flag modify]Add package to check '${{ pkg }}'"

- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --all'
- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --workspace'
enabled: ${{ parameters['all'] }}
displayName: "[cli flag modify]Check all packages in the workspace"

Expand Down
2 changes: 1 addition & 1 deletion ci/jobs/cargo-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --package ${{ pkg }}'
displayName: "[cli flag modify]Add package to check '${{ pkg }}'"

- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --all'
- script: echo '##vso[task.setvariable variable=check_flags]$(check_flags) --workspace'
enabled: ${{ parameters['all'] }}
displayName: "[cli flag modify]Check all packages in the workspace"

Expand Down
2 changes: 1 addition & 1 deletion ci/jobs/cargo-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- script: echo '##vso[task.setvariable variable=doc_flags]$(doc_flags) --package ${{ pkg }}'
displayName: "[cli flag modify]Add package to check '${{ pkg }}'"

- script: echo '##vso[task.setvariable variable=doc_flags]$(doc_flags) --all'
- script: echo '##vso[task.setvariable variable=doc_flags]$(doc_flags) --workspace'
enabled: ${{ parameters['all'] }}
displayName: "[cli flag modify]Check all packages in the workspace"

Expand Down
2 changes: 1 addition & 1 deletion ci/jobs/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
# *********************************************************************************************
# parameters from `cargo test --help`

- script: echo '##vso[task.setvariable variable=test_build_flags]$(test_build_flags) --all'
- script: echo '##vso[task.setvariable variable=test_build_flags]$(test_build_flags) --workspace'
enabled: ${{ parameters['all'] }}
displayName: "[cli flag modify]Test all packages in the workspace"

Expand Down

0 comments on commit 365c9f6

Please sign in to comment.