mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Rename check_no_unwrap.sh to check_no_panic.sh
This commit is contained in:
parent
e4fcc066d1
commit
81f2faeb96
3 changed files with 3 additions and 4 deletions
|
@ -16,7 +16,7 @@ matrix:
|
||||||
- ./mach test-unit
|
- ./mach test-unit
|
||||||
- ./mach build-geckolib
|
- ./mach build-geckolib
|
||||||
- ./mach test-stylo
|
- ./mach test-stylo
|
||||||
- bash etc/ci/check_no_unwrap.sh
|
- bash etc/ci/check_no_panic.sh
|
||||||
- bash etc/ci/lockfile_changed.sh
|
- bash etc/ci/lockfile_changed.sh
|
||||||
- bash etc/ci/manifest_changed.sh
|
- bash etc/ci/manifest_changed.sh
|
||||||
cache:
|
cache:
|
||||||
|
|
|
@ -52,7 +52,7 @@ linux-dev:
|
||||||
- ./mach test-stylo
|
- ./mach test-stylo
|
||||||
- bash ./etc/ci/lockfile_changed.sh
|
- bash ./etc/ci/lockfile_changed.sh
|
||||||
- bash ./etc/ci/manifest_changed.sh
|
- bash ./etc/ci/manifest_changed.sh
|
||||||
- bash ./etc/ci/check_no_unwrap.sh
|
- bash ./etc/ci/check_no_panic.sh
|
||||||
|
|
||||||
linux-rel-wpt:
|
linux-rel-wpt:
|
||||||
- ./mach build --release
|
- ./mach build --release
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
# Make sure listed files do not contain "unwrap"
|
# Make sure listed files do not use unwrap() or panic!()
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
@ -13,7 +13,6 @@ set -o pipefail
|
||||||
# cd into repo root to make sure paths work in any case
|
# cd into repo root to make sure paths work in any case
|
||||||
cd "$(git rev-parse --show-toplevel)"
|
cd "$(git rev-parse --show-toplevel)"
|
||||||
|
|
||||||
# files that should not contain "unwrap"
|
|
||||||
FILES=("components/compositing/compositor.rs"
|
FILES=("components/compositing/compositor.rs"
|
||||||
"components/constellation/constellation.rs"
|
"components/constellation/constellation.rs"
|
||||||
"components/constellation/pipeline.rs"
|
"components/constellation/pipeline.rs"
|
Loading…
Add table
Add a link
Reference in a new issue