'./make build js' now adds SPDX header to generated javascript

This commit is contained in:
Leon van Kammen 2023-11-09 11:56:07 +01:00
parent 48c20b6c30
commit 3951bca195
1 changed files with 1 additions and 1 deletions

2
make
View File

@ -91,7 +91,7 @@ build(){
# convert ESM to normal browser js # convert ESM to normal browser js
sed 's/export //g' example/assets/js/utils.js > dist/utils.js sed 's/export //g' example/assets/js/utils.js > dist/utils.js
# add license headers # add license headers
for i in dist/*.js; do echo -e "${license_js}$(cat $i)" > $i; done #for i in dist/*.js; do echo -e "${license_js}$(cat $i)" > $i; done
ls -la dist | grep js ls -la dist | grep js
exit $ok exit $ok
} }