rimworld-mod-template/.vscode/fmt.sh

9 lines
108 B
Bash
Raw Normal View History

2024-02-11 17:28:50 +01:00
set -e
script_dir=$(dirname $(readlink -f $0))
mod_dir=$(dirname $script_dir)
pushd $mod_dir
nix fmt
popd