You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,12 +49,12 @@ To get a quick overview of the options provided, you can use the `--help` or `-h
49
49
```{bash}
50
50
./factotum --help
51
51
```
52
-
52
+
53
53
For more information on this file format and how to write your own jobs, see the **[Factfile format](/README.md#factfile-format)** section below.
54
54
55
55
## Factfile format
56
56
57
-
Factfiles are self-describing JSON which declare a series of tasks and their dependencies. For example:
57
+
Factfiles are self-describing JSON which declare a series of tasks and their dependencies. For example:
58
58
59
59
```{json}
60
60
{
@@ -101,11 +101,11 @@ Factfiles are self-describing JSON which declare a series of tasks and their dep
101
101
```
102
102
103
103
This example defines three tasks that run shell commands - `echo alpha`, `echo beta` and `echo omega`. `echo alpha` has no dependencies - it will run immediately. `echo beta` depends
104
-
on the completion of the `echo alpha` task, and so will wait for `echo alpha` to complete. `echo omega` depends on the `echo beta` task, and so will wait for `echo beta` to be complete before
105
-
executing.
104
+
on the completion of the `echo alpha` task, and so will wait for `echo alpha` to complete. `echo omega` depends on the `echo beta` task, and so will wait for `echo beta` to be complete before
105
+
executing.
106
106
107
107
Given the above, the tasks will be executed in the following sequence: `echo alpha`, `echo beta` and finally, `echo omega`. Tasks can have multiple dependencies in factotum, and tasks that are parallelizable will
108
-
be run concurrently. Check out **[the samples](/samples)** for more sample factfiles or **[the wiki](https://github.com/snowplow/factotum/wiki#creating-a-job)** for a more complete description of the factfile format.
108
+
be run concurrently. Check out **[the samples](/samples)** for more sample factfiles or **[the wiki](https://github.com/snowplow/factotum/wiki#creating-a-job)** for a more complete description of the factfile format.
109
109
110
110
## Developer quickstart
111
111
@@ -118,15 +118,15 @@ Factotum is written in **[Rust](https://www.rust-lang.org/)**.
118
118
* Set up a Vagrant box and ssh into it - `vagrant up && vagrant ssh`
119
119
* This will take a few minutes
120
120
*`cd /vagrant`
121
-
* Compile and run a demo - `cargo run -- run samples/echo.factfile`
121
+
* Compile and run a demo - `cargo run -- run samples/echo.factfile`
0 commit comments