Files
runner_v/scripts/install.sh
Timur Gordon 010ecc7c71 initial commit
2025-08-26 14:47:52 +02:00

18 lines
539 B
Bash
Executable File

#!/bin/bash
# Install V & Herolib
curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/development/install_v.sh' > /tmp/install_v.sh
bash /tmp/install_v.sh --herolib
pushd ${HOME}/code/github/freeflowuniverse/herolib
./install_herolib.vsh
popd
# Install runner
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
MODULE_DIR="${SCRIPT_DIR}/../"
# Link module to vmodules
mkdir -p "${HOME}/.vmodules/herocode"
unlink ${HOME}/.vmodules/herocode/runner
ln -s ${MODULE_DIR}/src ${HOME}/.vmodules/herocode/runner