Moo-Ack-Productions / bpy-build

A build sytem to make building Blender addons 10 times easier
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Allow defining actions in terms of other actions #15

Open StandingPadAnimations opened 1 month ago

StandingPadAnimations commented 1 month ago

Right now, every action requires an individual script, which results in actions that are made from “master” scripts. Although this works fine, it can make debugging a nightmare if these scripts don't propagate errors (see #14).

In order to make things easier for developers, a subactions variable will be added as an option for actions, and may look something like this (using translation actions in MCprep as an example):

build_actions:
  translate:
    subactions: 
      - build_pot
    build_pot: 
        script: "dev.py"