Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Apr 25, 2024
1 parent 869219d commit b3fcf0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ book_example() {
local src=book/src/applet/prelude/$1.rs
local dst=examples/rust/$2/src/lib.rs
if [ $dst -nt $src ]; then
# START DEBUGGING
set -x
stat -c%Y $src
stat -c%Y $dst
# END DEBUGGING
t "Update $src instead of $dst"
e "$dst seems to have been manually modified"
fi
Expand Down

0 comments on commit b3fcf0b

Please sign in to comment.