Skip to content

Commit 9b46e11

Browse files
committed
[UPDATE] Flutter/RN 각각의 숫자 표시
- Flutter / React Native: 64 → 52 / 12 - 각 프레임워크별 아티클 수를 개별적으로 표시 - workflow도 각각 숫자 표시하도록 수정
1 parent 12ceef2 commit 9b46e11

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/update-profile.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,21 @@ jobs:
6666
CS_TOTAL=$((CS + ALGO))
6767
# iOS + Swift 통합
6868
IOS_TOTAL=$((IOS + SWIFT))
69-
# Flutter + React Native 통합
70-
FLUTTER_RN_TOTAL=$((FLUTTER + RN))
7169
7270
# 카테고리 수 계산 (0이 아닌 카테고리만)
71+
# Flutter / RN은 하나의 카테고리로 계산
7372
categories=0
7473
[ "$IOS_TOTAL" -gt 0 ] && ((categories++))
7574
[ "$ANDROID" -gt 0 ] && ((categories++))
76-
[ "$FLUTTER_RN_TOTAL" -gt 0 ] && ((categories++))
75+
[ "$FLUTTER" -gt 0 ] || [ "$RN" -gt 0 ] && ((categories++))
7776
[ "$CS_TOTAL" -gt 0 ] && ((categories++))
7877
[ "$DEV" -gt 0 ] && ((categories++))
7978
8079
# README 업데이트할 내용 생성
8180
cat > /tmp/til_stats.txt << EOF
8281
_${TOTAL} TILs across ${categories} categories_
8382
- iOS: ${IOS_TOTAL}
84-
- Flutter / React Native: ${FLUTTER_RN_TOTAL}
83+
- Flutter / React Native: ${FLUTTER} / ${RN}
8584
- Computer Science: ${CS_TOTAL}
8685
- Development: ${DEV}
8786
- Android: ${ANDROID}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
_583 TILs across 5 categories_
1212
- iOS: 319
13-
- Flutter / React Native: 64
13+
- Flutter / React Native: 52 / 12
1414
- Computer Science: 50
1515
- Development: 7
1616
- Android: 4

0 commit comments

Comments
 (0)