cutter/scripts/jsdec.sh
Anton Kochkov f97ab44072
Update rizin to latest dev & update jsdec to v0.7.0 ()
* Update rizin to latest dev
* Use jsdec for rizin 0.7.0

---------

Co-authored-by: wargio <wargio@libero.it>
2024-02-13 22:54:02 +08:00

21 lines
328 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [ ! -d jsdec ]; then
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.7.0"
fi
cd jsdec
if [ -d build ]; then
rm -rf build
fi
meson --buildtype=release "$@" build
ninja -C build
ninja -C build install