v0.8.4
v0.8.4 main v0.8.5 v0.8.3 v0.8.2 v0.8.1 v0.8.0

Scripts

[edit]
You are looking at the docs for an older version (v0.8.4). The latest version is main.

Task Scripts

A script is what defines a tasks behaviour.

Syntax

To define a script you must add a code block under the name of a task.

## Tasks
### Task1
```
echo "Hello 世界!"
echo "Hello العالمية!"
echo "Hello ертөнц!"
```

Shebangs

To define an alternative interpreter such as python, then include a shebang, similar to the unix style.

xc will parse this and create a temporary file that will be executed using the specified interpreter.

## Tasks
### python-task
```
#!/usr/bin/env python
print("foo")
```