diff --git a/Taskfile.yaml b/taskfile.yaml similarity index 90% rename from Taskfile.yaml rename to taskfile.yaml index 2a98c06..a7cf3b1 100755 --- a/Taskfile.yaml +++ b/taskfile.yaml @@ -1,5 +1,5 @@ -# https://taskfile.dev version: "3" +silent: true # This makes all tasks silent by default vars: APPLE_TARGETS: "aarch64-apple-ios aarch64-apple-darwin x86_64-apple-darwin" @@ -201,6 +201,22 @@ tasks: - task: release - task: build:apple + # ── Publish ───────────────────────────────────────────────────────────── + + release: + desc: "Push trunk and sync lum_ccc_fplugin Cargo.lock to the new commit" + summary: | + Runs in order: + 1. git push gitea trunk (lum_ccc_rust) + 2. dev-sync.sh --update (lum_ccc_fplugin) — updates Cargo.lock + clears build cache + Set FPLUGIN_DIR env var to override the default fplugin path. + vars: + FPLUGIN_DIR: + sh: echo "${FPLUGIN_DIR:-/Volumes/LUM/source/letusmsg_proj/app/lum_ccc_fplugin}" + cmds: + - git push gitea trunk + - "{{.FPLUGIN_DIR}}/scripts/dev-sync.sh --update" + # ── Utility ───────────────────────────────────────────────────────────── clean: