initial commit
This commit is contained in:
18
scripts/install.sh
Executable file
18
scripts/install.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
Reference in New Issue
Block a user