mirror of
https://github.com/radareorg/r2ghidra.git
synced 2026-11-07 06:25:57 -10:00
* --with-rxml / -Duse_rxml * Not enabled by default, but builds and works fine * Requires r2-6.1.6
33 lines
713 B
Bash
Executable File
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
|