forked from AleoNet/workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check-run.sh
executable file
·52 lines (46 loc) · 905 Bytes
/
check-run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
# A script to check that all examples compile and run.
# Run this script from the root directory of the workshop repository.
# Note that this script is expected to run successfully.
# Run the auction example.
cd auction
echo "
[CHECK] CHECKING THE AUCTION EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..
# Run the basic bank example.
cd basic_bank
echo "
[CHECK] CHECKING THE BASIC BANK EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..
# Run the battleship example.
cd battleship
echo "
[CHECK] CHECKING THE BATTLESHIP EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..
# Run the tictactoe example.
cd tictactoe
echo "
[CHECK] CHECKING THE TICTACTOE EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..
# Run the token example.
cd token
echo "
[CHECK] CHECKING THE TOKEN EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..
# Run the vote example.
cd vote
echo "
[CHECK] CHECKING THE VOTE EXAMPLE"
chmod +x ./run.sh
./run.sh
cd ..