tree-sitter-dockerfile/corpus/run.txt

54 lines
610 B
Plaintext
Raw Normal View History

2021-05-09 22:11:30 -04:00
==================
Shell command
==================
RUN echo "test"
---
(source_file
(run_instruction
(shell_command)))
==================
Shell command multiline
==================
RUN echo "test" \
"foo" \
bar
---
(source_file
(run_instruction
(shell_command)))
==================
Run with shell empty array
==================
run []
---
(source_file
(run_instruction
(string_array)))
==================
Run with shell array
==================
run ["echo", "test"]
---
(source_file
(run_instruction
(string_array
(double_quoted_string)
(double_quoted_string))))