18 lines
539 B
Bash
Executable File
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 |