
configfile: "config.yaml"

rule all:
    input:
        "test.out",
        "test.html",
        "rel_source.out",
        "julia.out"

rule:
    input:
        "test.in"
    output:
        txt="test.out"
    params:
        xy=True
    conda:
        "envs/r.yaml"
    script:
        "scripts/test.R"

rule:
    output:
        "test.in"
    script:
        "scripts/test.py"

rule:
    output:
        "test.html"
    params:
        test="testparam"
    conda:
        "envs/r.yaml"
    script:
        "scripts/test.Rmd"

rule:
    output:
        "rel_source.out"
    conda:
        "envs/r.yaml"
    script:
        "scripts/rel_source.R"

rule:
    input:
        "test.in",
        named_input="test.in"
    output:
        "julia.out"
    params:
        integer=123
    conda:
        "envs/julia.yaml"
    script:
        "scripts/test.jl"
