Skip to content

Commit 12b91f7

Browse files
Merge pull request #88 from CodandoTV/docs/translate-readme-to-portuguese
docs: improve Readme
2 parents 7286ba3 + 25fef3b commit 12b91f7

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/generate-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,17 @@ jobs:
116116
if: steps.changed.outputs.has_changes == 'true'
117117
id: check
118118
run: |
119-
COUNT=$(git status --short | grep -c "Test\.kt" || true)
119+
COUNT=$(find android_kmp/craftd-core/src/test -name "*Test.kt" 2>/dev/null | wc -l | tr -d ' ')
120120
echo "count=$COUNT" >> "$GITHUB_OUTPUT"
121+
echo "Found $COUNT test file(s)"
121122
122123
if [ "$COUNT" -gt "0" ]; then
123124
echo "has_tests=true" >> "$GITHUB_OUTPUT"
124-
NAMES=$(git status --short \
125-
| grep "Test\.kt" \
126-
| awk '{print $2}' \
125+
NAMES=$(find android_kmp/craftd-core/src/test -name "*Test.kt" \
127126
| xargs -I{} basename {} \
128127
| paste -sd ", ")
129128
echo "covered_names=$NAMES" >> "$GITHUB_OUTPUT"
129+
echo "Files: $NAMES"
130130
else
131131
echo "has_tests=false" >> "$GITHUB_OUTPUT"
132132
fi
@@ -143,7 +143,7 @@ jobs:
143143
git config user.email "github-actions[bot]@users.noreply.github.com"
144144
145145
git checkout -b "$BRANCH"
146-
git add android_kmp/craftd-core/src/test/
146+
git add --force android_kmp/craftd-core/src/test/
147147
git commit -m "test: add unit tests for craftd-core (auto-generated via Claude)"
148148
git push origin "$BRANCH"
149149

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@
1414
</h1>
1515

1616
### Documentation
17-
See the [project website](https://codandotv.github.io/CraftD) for documentation.
17+
Visit the [project website](https://codandotv.github.io/CraftD) for the full documentation.
1818

19-
Take a look at [CraftD: Server Driven UI for All Platforms](https://medium.com/codandotv/craftd-server-driven-ui-for-all-platforms-b2624d2c2a7b)
19+
Also check out the article [CraftD: Server Driven UI for All Platforms](https://medium.com/codandotv/craftd-server-driven-ui-for-all-platforms-b2624d2c2a7b)
2020

2121
## Features
22-
### 🔗 Compatibility
22+
### 🔗 Platform Support
2323

24-
| Tech | Support |
24+
| Technology | Status |
2525
|---------------------------------|:-------------------:|
2626
| View System - Android |**Supported** |
2727
| Jetpack Compose - Android |**Supported** |
2828
| Widget - Flutter |**Supported** |
29-
| SwiftUi - iOS |**Supported** |
29+
| SwiftUI - iOS |**Supported** |
3030
| Jetpack Compose - Multiplatform |**Supported** |
3131

32-
### Components that already exist in the library
32+
### Available components
3333

3434
| Component | Compose | View System | Widget | SwiftUI |
35-
|-----------|----------|----------|----------|----------|
36-
| Button | X | X | X | X |
37-
| Text | X | X | X | X |
38-
| CheckBox | X | - | - | X |
35+
|-----------|:-------:|:-----------:|:------:|:-------:|
36+
| Button | | | | |
37+
| Text | | | | |
38+
| CheckBox | | - | - | |
3939

40-
More details check our [documentation](https://codandotv.gitbook.io/craftd)
40+
For more details, check out the [documentation](https://codandotv.gitbook.io/craftd).
4141

4242

4343
### Samples
@@ -53,10 +53,10 @@ Click the ⭐ star at the top to show your support!
5353

5454
### Credits
5555

56-
> A Server Driven UI library for Android.
57-
58-
Inspired by the [DynamicView](https://github.com/rviannaoliveira/DynamicView/).
56+
> A Server Driven UI library for Android, iOS, Flutter, and Kotlin Multiplatform.
5957
58+
Inspired by [DynamicView](https://github.com/rviannaoliveira/DynamicView/).
6059

6160
This project exists thanks to all the people who contribute.
6261
<a href="https://github.com/CodandoTV/CraftD"><img src="https://opencollective.com/craftd/contributors.svg?width=890&button=false" /></a>
62+

0 commit comments

Comments
 (0)