diff --git a/cli/sheet.sh b/cli/sheet.sh index 37e494627..3d8697b67 100644 --- a/cli/sheet.sh +++ b/cli/sheet.sh @@ -85,3 +85,39 @@ end assert(expected:isEqual(sheet.cels[1].image)) EOF $ASEPRITE -b -script "$d/compare.lua" || exit 1 + +# --split-layers --sheet --data + +d=$t/split-layers-sheet-data +$ASEPRITE -b --split-layers sprites/1empty3.aseprite \ + --filename-format "{layer}-{frame}" \ + --sheet "$d/sheet.png" \ + --data "$d/sheet.json" || exit 1 +open $d +cat >$d/compare.lua <