2009-04-03 11:11:17 +00:00
|
|
|
#!/bin/sh
|
2009-09-07 20:01:34 +00:00
|
|
|
#
|
2014-09-12 13:37:59 +00:00
|
|
|
# Look for the 'acr' tool here: https://github.com/radare/acr
|
2009-09-07 20:01:34 +00:00
|
|
|
# Clone last version of ACR from here:
|
2014-09-12 13:37:59 +00:00
|
|
|
# git clone https://github.com/radare/acr
|
2009-09-07 20:01:34 +00:00
|
|
|
#
|
|
|
|
# -- pancake
|
2018-10-15 22:28:51 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
fi
|
2021-03-11 11:39:47 +00:00
|
|
|
V=`./configure -qV | cut -d - -f -1`
|
2021-02-21 00:51:08 +00:00
|
|
|
meson rewrite kwargs set project / version "$V"
|
2011-04-20 11:56:58 +00:00
|
|
|
if [ -n "$1" ]; then
|
2015-04-17 20:11:53 +00:00
|
|
|
echo "./configure $*"
|
2015-04-29 08:41:18 +00:00
|
|
|
./configure $*
|
2011-04-20 11:56:58 +00:00
|
|
|
fi
|
2021-09-20 11:24:50 +00:00
|
|
|
|
|
|
|
[ -z "$EDITOR" ] && EDITOR=vim
|
|
|
|
$EDITOR README.md
|
2022-02-26 00:42:28 +00:00
|
|
|
$EDITOR dist/npm/package.json
|