Skip to content

Commit

Permalink
trigger rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Sep 30, 2024
1 parent 59edd88 commit 34fe43d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion compiled_starters/swift/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then
mv /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift

# This DOES trigger a rebuild! inode changes?
# cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
else
echo "Build directory does not exist."
fi
Expand Down
3 changes: 2 additions & 1 deletion compiled_starters/swift/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ set -e # Exit early if any commands fail
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
mv /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
# This DOES trigger a rebuild! inode changes?
# cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
else
echo "Build directory does not exist."
fi
Expand Down
3 changes: 2 additions & 1 deletion solutions/swift/01-jm1/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then
mv /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift

# This DOES trigger a rebuild! inode changes?
# cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
else
echo "Build directory does not exist."
fi
Expand Down
3 changes: 2 additions & 1 deletion solutions/swift/01-jm1/code/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ set -e # Exit early if any commands fail
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
mv /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
# This DOES trigger a rebuild! inode changes?
# cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
else
echo "Build directory does not exist."
fi
Expand Down
3 changes: 2 additions & 1 deletion starter_templates/swift/code/.codecrafters/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if [ -d "/tmp/codecrafters-build-redis-swift" ]; then
mv /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift

# This DOES trigger a rebuild! inode changes?
# cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
mv /tmp/codecrafters-build-redis-swift /tmp/codecrafters-build-redis-swift-old
cp -R /tmp/codecrafters-build-redis-swift-old /tmp/codecrafters-build-redis-swift
else
echo "Build directory does not exist."
fi
Expand Down

0 comments on commit 34fe43d

Please sign in to comment.