You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
307 B
Bash
9 lines
307 B
Bash
#!/bin/bash
|
|
|
|
echo "Generating credits file..."
|
|
|
|
npx generate-license-file --ci --no-spinner --input www/package.json --output license-credits.txt --overwrite
|
|
|
|
cp www/pages/credits.template.html www/pages/credits.html
|
|
sed -e "/{{credits}}/r license-credits.txt" -e "/{{credits}}/d" -i www/pages/credits.html
|