Skip to content

Commit

Permalink
📝 docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Oct 18, 2024
1 parent e30c578 commit c6a4aa7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Nanoflow
<p align="center">
<a href="https://python.org/" target="_blank"><img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/nanoflow?logo=python&style=flat-square"></a>
<a href="https://pypi.org/project/nanoflow/" target="_blank"><img src="https://img.shields.io/pypi/v/nano flow?style=flat-square" alt="pypi"></a>
<a href="https://pypi.org/project/nanoflow/" target="_blank"><img src="https://img.shields.io/pypi/v/nanoflow?style=flat-square" alt="pypi"></a>
<a href="https://pypi.org/project/nanoflow/" target="_blank"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/nanoflow?style=flat-square"></a>
<a href="LICENSE"><img alt="LICENSE" src="https://img.shields.io/github/license/nanoflow-dev/nanoflow?style=flat-square"></a>
<a href="LICENSE"><img alt="LICENSE" src="https://img.shields.io/pypi/l/nanoflow?style=flat-square"></a>
<br/>
<a href="https://github.com/astral-sh/uv"><img alt="uv" src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json&style=flat-square"></a>
<a href="https://github.com/astral-sh/ruff"><img alt="ruff" src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&style=flat-square"></a>
Expand Down
8 changes: 4 additions & 4 deletions examples/matrix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ resources = ["fake-device-1", "fake-device-2", "fake-device-3"]
content = ["a", "b", "c"]

[tasks.a]
command = "sleep 1 && echo '{content}:a'"
command = "sleep 0.1 && echo '{content}:a'"

[tasks.b]
command = "sleep 2 && echo '{content}:b'"
command = "sleep 0.2 && echo '{content}:b'"

[tasks.c]
command = "sleep {time} && echo '{content}:c'"

[tasks.c.matrix]
time = ["1", "2", "3"]
time = ["0.1", "0.2", "0.3"]

[tasks.d]
command = "sleep 1 && echo '{content}:d'"
command = "sleep 0.1 && echo '{content}:d'"
# You can't depend on a task that has matrix, such as c.
deps = ["a", "b"]
6 changes: 3 additions & 3 deletions examples/simple.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name = "simple example"
resources = ["fake-device-1", "fake-device-2"]

[tasks.a]
command = "sleep 1 && echo 'a'"
command = "sleep 0.1 && echo 'a'"

[tasks.b]
command = "sleep 2 && echo 'b'"
command = "sleep 0.2 && echo 'b'"

[tasks.c]
command = "sleep 1 && echo 'c'"
command = "sleep 0.1 && echo 'c'"
deps = ["a", "b"]

0 comments on commit c6a4aa7

Please sign in to comment.