diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0979f54 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "yaml.schemas": { + "./schema.yaml": ".runny.yaml" + } +} diff --git a/schema.yaml b/schema.yaml new file mode 100644 index 0000000..36a58d3 --- /dev/null +++ b/schema.yaml @@ -0,0 +1,27 @@ +type: object +properties: + shell: + type: string + env: + type: array + items: + type: string + commands: + type: object + additionalProperties: + type: object + properties: + if: + type: string + run: + type: string + needs: + type: array + items: + type: string + env: + type: array + items: + type: string +required: + - commands