mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
20 lines
328 B
Bash
Executable File
20 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.6.0"
|
|
fi
|
|
|
|
cd jsdec
|
|
rm -rf build
|
|
mkdir build && cd build
|
|
meson --buildtype=release -Djsc_folder="../" "$@" ../p
|
|
ninja
|
|
ninja install
|
|
|