mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
This cleans up our CI scripts but doesn't significantly change anything. Mostly this is removing dead code and wrong comments, and making the style a bit more consistent.
21 lines
451 B
Bash
Executable File
21 lines
451 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# build, test and generate docs in this phase
|
|
|
|
set -ex
|
|
|
|
. "$(dirname $0)/utils.sh"
|
|
|
|
main() {
|
|
# disable_cross_doctests
|
|
cargo build --target "${TARGET}" --verbose --all
|
|
if [ "$(architecture)" = "amd64" ] || [ "$(architecture)" = "i386" ]; then
|
|
cargo test --target "${TARGET}" --verbose --all
|
|
"$( dirname "${0}" )/test_complete.sh"
|
|
fi
|
|
# sanity check the file type
|
|
file target/$TARGET/debug/rg
|
|
}
|
|
|
|
main
|