Skip to content

Commit

Permalink
Update examples CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Nov 19, 2024
1 parent 2bf7bfa commit 82585fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ jobs:
- run:
name: Build and install Leo
no_output_timeout: 30m
command: cargo install --path . --locked
command: cargo install --path . --root . --locked
- persist_to_workspace:
root: ~/
paths:
Expand Down
6 changes: 6 additions & 0 deletions .circleci/leo-example.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Alias the leo command to use the local binary.
# Note: Use a full path for $LEO when running locally.
leo() {
$LEO "$@"
}

(
# Create a new Leo lottery example program.
$LEO example lottery || exit
Expand Down

0 comments on commit 82585fa

Please sign in to comment.