Files
pancake 36d15b6617 Optionally use r2 apis instead of pugixml dependency
* --with-rxml / -Duse_rxml
* Not enabled by default, but builds and works fine
* Requires r2-6.1.6
2026-05-02 21:00:06 +02:00

33 lines
713 B
Bash
Executable File

#!/bin/sh
#
# Check out the 'acr' tool in: https://github.com/radareorg/acr
#
# -- pancake
#
[ -z "${EDITOR}" ] && EDITOR=vim
r2pm -h >/dev/null 2>&1
if [ $? = 0 ]; then
echo "Installing the last version of 'acr'..."
r2pm -i acr > /dev/null
r2pm -r acr -h > /dev/null 2>&1
if [ $? = 0 ]; then
echo "Running 'acr -p'..."
r2pm -r acr -p
else
echo "Cannot find 'acr' in PATH"
fi
else
echo "Running acr..."
acr -p || exit 1
fi
V=`./configure -qV | cut -d - -f -1`
meson rewrite kwargs set project / version "$V"
if [ -n "$1" ]; then
echo "./configure $*"
./configure $*
fi
$EDITOR .github/workflows/ci.yml
$EDITOR dist/windows/r2pm/r2pm-i.ps1
# sed -i -e "s,^R2V:.*,R2V: $V" .github/workflows/ci.yml