File tree Expand file tree Collapse file tree 3 files changed +36
-4
lines changed
Expand file tree Collapse file tree 3 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 2938429384 "stars": 0,
2938529385 "status": "success"
2938629386 },
29387+ {
29388+ "created": "2025-01-09T14:40:07Z",
29389+ "duration": 4,
29390+ "modified": "2025-01-09T14:40:07Z",
29391+ "repo": "https://github.com/Formkunft/LightTableParser.git",
29392+ "runid": 12691756048,
29393+ "stars": 0,
29394+ "status": "success"
29395+ },
2938729396 {
2938829397 "created": "2025-01-07T12:16:24Z",
2938929398 "duration": 9,
Original file line number Diff line number Diff line change 22layout : default
33title : Swift Everywhere: Android Build Status
44---
5+
56<h1 >{{ page.title }}</h1 >
67
7- {% assign items = site.data.android %}
88
99<p >
1010This page acts as a supplement to the
@@ -15,6 +15,15 @@ yet supported, such as
1515<a href =" " >Windows</a >.
1616<p >
1717
18+ ## Android Build Status
19+
20+ {% assign items = site.data.android %}
21+ {% assign stats = site.data.android_stats %}
22+
23+ Of the {{ stats.total_packages | number_with_delimiter }} packages that are being successfully build
24+ for <a href =" https://swiftpackageindex.com/search?query=platform:linux " >Linux</a >,
25+ {{ stats.success_packages | number_with_delimiter }} are build successfully
26+ built for Android.
1827
1928<table >
2029<tr >
@@ -39,5 +48,5 @@ yet supported, such as
3948<p >
4049This page is automatically updated by a GitHub action running at
4150<a href =" https://github.com/swift-everywhere/swift-package-builds " >https://github.com/swift-everywhere/swift-package-builds </a >.
42- It was last generated at {%- page.date | date: date_format -%}.
51+ It was last generated at {%- site.time | date_to_string -%}.
4352</p >
Original file line number Diff line number Diff line change 1- #! /bin/sh -ex
1+ #! /bin/bash -e
22
33cd ../swift-package-builds
44git pull
55cd -
66
7- cat ../swift-package-builds/index/android.json | jq ' to_entries | map(.value) | sort_by(.stars) | reverse' > _data/android.json
7+ INDEX=" ../swift-package-builds/index/android.json"
8+ STATS=" ../swift-package-builds/index/android_stats.json"
89
10+ cat ${INDEX} | jq ' to_entries | map(.value) | sort_by(.stars) | reverse' > _data/android.json
11+
12+ echo " {}" > ${STATS}
13+
14+ COUNT=$( cat ${INDEX} | jq ' length' )
15+ jq --arg COUNT " $COUNT " ' ."total_packages" = $COUNT' $STATS > $STATS .new && mv $STATS .new $STATS
16+
17+
18+ SUCCESS=$( cat ${INDEX} | jq ' [.[] | select(.status == "success")] | length' )
19+ jq --arg SUCCESS " $SUCCESS " ' ."success_packages" = $SUCCESS' $STATS > $STATS .new && mv $STATS .new $STATS
20+
21+
22+ cat " ${STATS} "
You can’t perform that action at this time.
0 commit comments