leo/examples/vote/run.sh

22 lines
303 B
Bash
Raw Normal View History

2022-09-20 00:52:55 +03:00
# Build the Leo vote program.
(
leo build || exit
)
# Run the `propose` program function
(
leo run propose || exit
)
2022-09-20 04:29:00 +03:00
# Run the `new_ticket` program function
(
leo run new_ticket || exit
)
# Run the `agree` or `disagree` program function
(
leo run agree || exit
# leo run disagree || exit
)