Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
docs: add tips to test Tengo scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 12, 2020
1 parent 4d65a09 commit 6d6ebbf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,22 @@ If the confgiuration file path isn't specified, the file named `.buildflow.yml`
* command.env[].value_file
* write_file.template_file

## Tips: Test Tengo Scripts

Some Tengo scripts such as task's input and output can be read from external scripts.

ex.

```yaml
tasks:
- name: foo
input_file: foo_input.tengo
output_file: foo_output.tengo
...
```

We can test external Tengo scripts with [suzuki-shunsuke/tengo-tester](https://github.com/suzuki-shunsuke/tengo-tester).

## Configuration Reference

```yaml
Expand Down

0 comments on commit 6d6ebbf

Please sign in to comment.