Skip to content

Commit

Permalink
add/update comments to verify-exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Dec 14, 2024
1 parent 143af73 commit b14531d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/verify-exercises
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ for exercise_path in $exercises; do

cd "$tmp_dir"

# test that the scaffold + tests combination compiles
scarb build --test

# Move example files to where Cargo expects them
# Copy solution files to where Cargo expects them
if [ -f "$repo/$exercise_path/.meta/example.cairo" ]; then
cp -f "$repo/$exercise_path/.meta/example.cairo" "$tmp_dir/src/lib.cairo"
elif [ -f "$repo/$exercise_path/.meta/exemplar.cairo" ]; then
Expand Down

0 comments on commit b14531d

Please sign in to comment.