oto/apps/runner/assets/yaml/sample/07_file_utils.yaml
toki 86afabb3eb refactor(runner): 런타임 패키지를 앱 하위로 이동한다
독립 control plane 구성을 위해 기존 Dart CLI/runtime을 runner 앱 경계로 옮기고, 후속 client/core/root 작업을 같은 마일스톤 task group에 연결한다.
2026-06-05 06:34:45 +09:00

37 lines
726 B
YAML

---
# [샘플] 파일 조작 유틸리티
property:
workspace: /path/to/project
pipeline:
id: main
workflow:
- exe: dir-create
- exe: files-list
- exe: file-rename
commands:
# 디렉토리 생성
- command: DirectoryCreate
id: dir-create
param:
path: "<!property.workspace>/build/output/artifacts"
# 파일 목록 조회
- command: Files
id: files-list
param:
path: "<!property.workspace>/build/output"
recursive: true
ignoreRegExs:
- "\\.gitignore$"
- "\\.DS_Store$"
setFiles: <@property.fileList>
# 파일 이름 변경
- command: Rename
id: file-rename
param:
renameMap:
"<!property.workspace>/build/app-old.txt": "<!property.workspace>/build/app-new.txt"