Update example scripts

This commit is contained in:
d0cd 2023-02-16 09:13:42 -08:00
parent baf34e2ecc
commit 9ad7a0477c
7 changed files with 1 additions and 41 deletions

View File

@ -53,7 +53,7 @@ fi
echo "Building and running the \`bubblesort\` program..."
(
cd ./project/examples/bubblesort || exit
$LEO run bubblesort || exit
$LEO run bubble_sort || exit
)
# Check that the bubblesort program ran successfully.
EXITCODE=$?

View File

@ -1,11 +1,3 @@
#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
# The private key and address of the first bidder.
# Swap these into program.json, when running transactions as the first bidder.
# "private_key": "APrivateKey1zkpG9Af9z5Ha4ejVyMCqVFXRKknSm8L1ELEwcc4htk9YhVK"

View File

@ -1,11 +1,3 @@
#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
# The private key and address of the bank.
# Swap these into program.json, when running transactions as the first bidder.
# "private_key": "APrivateKey1zkpHtqVWT6fSHgUMNxsuVf7eaR6id2cj7TieKY1Z8CP5rCD",

View File

@ -1,11 +1,3 @@
#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
# Follow along in the README.md for a detailed explanation of each step.
# 1: Initializing Player 1

View File

@ -1,11 +1,3 @@
#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
# Create a new game.
echo "
###############################################################################

View File

@ -1,11 +1,3 @@
#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
echo "
###############################################################################
######## ########