mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
Fix apis.json generator
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
ba74f7a785
commit
f83fea21a4
1 changed files with 3 additions and 1 deletions
|
@ -12,10 +12,12 @@ main() {
|
|||
printf ' * %s... ' 'Generating api list'
|
||||
apis='api/apis.json'
|
||||
|
||||
: >"$apis"
|
||||
|
||||
# shellcheck disable=SC2094
|
||||
{
|
||||
printf '%s' '['
|
||||
find api -type f -exec basename {} \; | mkdata
|
||||
find api -type f -exec basename {} \; | mkdata | sed 's/,$//'
|
||||
echo ']'
|
||||
} >"$apis"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue