Update credits generation script
This commit is contained in:
parent
b42afb05bc
commit
73e4746f6b
2660
license-credits.txt
Normal file
2660
license-credits.txt
Normal file
File diff suppressed because it is too large
Load Diff
1246
package-lock.json
generated
1246
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -53,6 +53,7 @@
|
|||||||
"cordova-plugin-inappbrowser": "^4.1.0",
|
"cordova-plugin-inappbrowser": "^4.1.0",
|
||||||
"cordova-plugin-nativestorage": "^2.3.2",
|
"cordova-plugin-nativestorage": "^2.3.2",
|
||||||
"cordova-plugin-velda-devicefeedback": "0.0.2",
|
"cordova-plugin-velda-devicefeedback": "0.0.2",
|
||||||
|
"generate-license-file": "^2.0.0",
|
||||||
"phonegap-plugin-barcodescanner-android12": "^8.1.2"
|
"phonegap-plugin-barcodescanner-android12": "^8.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Generating credits files..."
|
echo "Generating credits file..."
|
||||||
|
|
||||||
cd www
|
npx generate-license-file --ci --no-spinner --input www/package.json --output license-credits.txt --overwrite
|
||||||
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
|
cp www/pages/credits.template.html www/pages/credits.html
|
||||||
sed -e "/{{credits}}/r license-credits.md" -e "/{{credits}}/d" -i www/pages/credits.html
|
sed -e "/{{credits}}/r license-credits.txt" -e "/{{credits}}/d" -i www/pages/credits.html
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user