main
main v0.8.0 v0.7.0 v0.6.0 v0.5.0 v0.4.1 v0.4.0

Scripts

[edit]

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")
```