1234567891011121314151617181920 |
- #!/bin/bash
- # Convenience script to rebuild the gdio crate and start the Godot editor using
- # the newly rebuilt version.
- if [ -z "$GD_EDITOR" ]; then
- echo 'GD_EDITOR unset, set it to the path of the Godot editor binary'
- exit 1
- fi
- CD_PATH=$(dirname $(dirname $(realpath $0)))
- set -e -x
- pushd $CD_PATH/gdio/
- cargo build
- popd
- $GD_EDITOR -w --resolution 1920x1080 $CD_PATH/game/project.godot
|