Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to template #639

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions binaries/cli/src/template/c/dataflow-template.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
nodes:
- id: talker_1
custom:
source: bin/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
path: bin/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
- id: talker_2
custom:
source: bin/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech
path: bin/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech

- id: listener_1
custom:
source: bin/listener_1
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
path: bin/listener_1
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
31 changes: 14 additions & 17 deletions binaries/cli/src/template/cxx/dataflow-template.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
nodes:
- id: talker_1
custom:
source: bin/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
path: bin/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
- id: talker_2
custom:
source: bin/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech
path: bin/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech

- id: listener_1
custom:
source: bin/listener_1
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
path: bin/listener_1
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
31 changes: 14 additions & 17 deletions binaries/cli/src/template/python/dataflow-template.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
nodes:
- id: talker_1
custom:
source: talker_1/talker_1.py
inputs:
tick: dora/timer/millis/100
outputs:
- speech
path: talker_1/talker_1.py
inputs:
tick: dora/timer/millis/100
outputs:
- speech
- id: talker_2
custom:
source: talker_2/talker_2.py
inputs:
tick: dora/timer/secs/2
outputs:
- speech
path: talker_2/talker_2.py
inputs:
tick: dora/timer/secs/2
outputs:
- speech

- id: listener_1
custom:
source: listener_1/listener_1.py
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
path: listener_1/listener_1.py
inputs:
speech-1: talker_1/speech
speech-2: talker_2/speech
39 changes: 18 additions & 21 deletions binaries/cli/src/template/rust/dataflow-template.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
nodes:
- id: talker_1
custom:
build: cargo build -p talker_1
source: target/debug/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
build: cargo build -p talker_1
path: target/debug/talker_1
inputs:
tick: dora/timer/millis/100
outputs:
- speech
- id: talker_2
custom:
build: cargo build -p talker_2
source: target/debug/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech
build: cargo build -p talker_2
path: target/debug/talker_2
inputs:
tick: dora/timer/secs/2
outputs:
- speech

- id: listener_1
custom:
build: cargo build -p listener_1
source: target/debug/listener_1
inputs:
tick: dora/timer/secs/1
speech-1: talker_1/speech
speech-2: talker_2/speech
build: cargo build -p listener_1
path: target/debug/listener_1
inputs:
tick: dora/timer/secs/1
speech-1: talker_1/speech
speech-2: talker_2/speech
Loading