feat(chat): 날짜 구분선 현지화 포매터를 추가한다

This commit is contained in:
Yu Sung
2026-10-16 19:54:25 +09:00
parent 3bd75f188f
commit e765c3c75c
4 changed files with 130 additions and 0 deletions
@@ -0,0 +1,20 @@
#!/bin/sh
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd)
tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT
export TMPDIR="$tmp"
export CLANG_MODULE_CACHE_PATH="$tmp/clang-cache"
export SWIFT_MODULECACHE_PATH="$tmp/swift-cache"
export XDG_CACHE_HOME="$tmp/cache"
swiftc -swift-version 5 -module-cache-path "$SWIFT_MODULECACHE_PATH" \
"$root/SodaLive/Sources/V2/Main/Chat/UserCreatorChat/Models/UserCreatorChatModels.swift" \
"$root/SodaLive/Sources/V2/Main/Chat/UserCreatorChat/Models/UserCreatorChatDisplayMessage.swift" \
"$root/SodaLive/Sources/V2/Main/Chat/UserCreatorChat/Models/UserCreatorChatDatePresentation.swift" \
"$root/work/tests/UserCreatorChatDatePresentationCheck.swift" \
-o "$tmp/user-creator-chat-date-presentation-check"
"$tmp/user-creator-chat-date-presentation-check"