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.
12 lines
324 B
Bash
12 lines
324 B
Bash
#!/bin/bash
|
|
|
|
echo "Generating credits files..."
|
|
|
|
cd www
|
|
yarn licenses generate-disclaimer > ../license-credits.md
|
|
cd ..
|
|
yarn licenses generate-disclaimer >> license-credits.md
|
|
|
|
cp www/pages/credits.template.html www/pages/credits.html
|
|
sed -i -e "/{{credits}}/r license-credits.md" -e "/{{credits}}/d" www/pages/credits.html
|