mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
f97ab44072
* Update rizin to latest dev * Use jsdec for rizin 0.7.0 --------- Co-authored-by: wargio <wargio@libero.it>
21 lines
328 B
Bash
Executable File
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
|
|
|