mirror of
https://github.com/FliegendeWurst/ripgrep-all.git
synced 2024-11-08 05:50:37 +00:00
remove pcre stuff
This commit is contained in:
parent
3af80a3709
commit
a26eecd480
@ -9,13 +9,7 @@ set -ex
|
||||
# Generate artifacts for release
|
||||
mk_artifacts() {
|
||||
CARGO="$(builder)"
|
||||
if is_arm; then
|
||||
"$CARGO" build --target "$TARGET" --release
|
||||
else
|
||||
# Technically, MUSL builds will force PCRE2 to get statically compiled,
|
||||
# but we also want PCRE2 statically build for macOS binaries.
|
||||
PCRE2_SYS_STATIC=1 "$CARGO" build --target "$TARGET" --release --features 'pcre2'
|
||||
fi
|
||||
"$CARGO" build --target "$TARGET" --release
|
||||
}
|
||||
|
||||
mk_tarball() {
|
||||
|
@ -38,6 +38,4 @@ cp "$compfish" "$DEPLOY_DIR/"
|
||||
compzsh="complete/_rg"
|
||||
cp "$compzsh" "$DEPLOY_DIR/"
|
||||
|
||||
# Since we're distributing the dpkg, we don't know whether the user will have
|
||||
# PCRE2 installed, so just do a static build.
|
||||
PCRE2_SYS_STATIC=1 cargo deb
|
||||
cargo deb
|
||||
|
@ -10,11 +10,7 @@ main() {
|
||||
CARGO="$(builder)"
|
||||
|
||||
# Test a normal debug build.
|
||||
if is_arm; then
|
||||
"$CARGO" build --target "$TARGET" --verbose
|
||||
else
|
||||
"$CARGO" build --target "$TARGET" --verbose --all --features 'pcre2'
|
||||
fi
|
||||
"$CARGO" build --target "$TARGET" --verbose
|
||||
|
||||
# Show the output of the most recent build.rs stderr.
|
||||
set +x
|
||||
@ -46,7 +42,7 @@ main() {
|
||||
"$(dirname "${0}")/test_complete.sh"
|
||||
|
||||
# Run tests for ripgrep and all sub-crates.
|
||||
"$CARGO" test --target "$TARGET" --verbose --all --features 'pcre2'
|
||||
"$CARGO" test --target "$TARGET" --verbose --all
|
||||
}
|
||||
|
||||
main
|
||||
|
Loading…
Reference in New Issue
Block a user