fix: switch reqwest TLS backend from rustls to native-tls
reqwest 0.13 defaults to rustls -> aws-lc-rs which requires cmake/nasm in minimal build environments. Switch owlry-plugin-weather to native-tls (system OpenSSL). Also add scripts/aur-local-test for clean chroot testing and .gitignore for build artifact exclusion.
This commit is contained in:
12
justfile
12
justfile
@@ -244,6 +244,7 @@ release-plugin crate new_version:
|
||||
|
||||
# === Testing ===
|
||||
|
||||
# Quick local build test (no chroot, uses host deps)
|
||||
aur-test-pkg pkg:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
@@ -252,3 +253,14 @@ aur-test-pkg pkg:
|
||||
makepkg -sf
|
||||
echo "Package built successfully!"
|
||||
ls -lh *.pkg.tar.zst
|
||||
|
||||
# Build AUR packages from the local working tree in a clean chroot.
|
||||
# Packages current source (incl. uncommitted changes), patches PKGBUILD,
|
||||
# builds in dep order, injects local artifacts, restores PKGBUILD on exit.
|
||||
# owlry-core is not in the official repos — inject it with -I:
|
||||
#
|
||||
# Examples:
|
||||
# just aur-local-test -I ../owlry/aur/owlry-core/owlry-core-*.pkg.tar.zst owlry-plugin-weather
|
||||
# just aur-local-test -I ../owlry/aur/owlry-core/owlry-core-*.pkg.tar.zst --all
|
||||
aur-local-test *args:
|
||||
scripts/aur-local-test {{args}}
|
||||
|
||||
Reference in New Issue
Block a user