xrforge/manyfold/test/300-package_godot_zip.sh

12 lines
281 B
Bash
Executable file

#!/bin/sh
dir=/tmp/hook-package_godot_zip
xrfdir=$dir/.xrforge
mkdir -p $xrfdir
touch $xrfdir/foo.glb
/root/hook.d/experience_updated/*-package_godot_zip.sh $dir/datapackage.json
test -f $xrfdir/godot.zip || {
echo "❌ godot.zip was not created";
exit 1;
}
rm -rf $dir
exit 0