'./make build js' now adds SPDX header to generated javascript
This commit is contained in:
parent
48c20b6c30
commit
3951bca195
2
make
2
make
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue