Automatically update code-credits.txt
This commit is contained in:
parent
a008cb298b
commit
16b67f0887
@ -44,6 +44,7 @@
|
|||||||
<splash src="res/android/drawable-port-xxxhdpi/screen.png" density="port-xxxhdpi"/>
|
<splash src="res/android/drawable-port-xxxhdpi/screen.png" density="port-xxxhdpi"/>
|
||||||
|
|
||||||
<hook type="before_prepare" src="scripts/get_dependencies.sh" />
|
<hook type="before_prepare" src="scripts/get_dependencies.sh" />
|
||||||
|
<hook type="before_prepare" src="scripts/update_credits.sh" />
|
||||||
<hook type="after_prepare" src="scripts/clean_node_modules.sh" />
|
<hook type="after_prepare" src="scripts/clean_node_modules.sh" />
|
||||||
|
|
||||||
</platform>
|
</platform>
|
||||||
|
@ -10,9 +10,9 @@ echo "Size before: $(du -sh | cut -d ' ' -f 1)"
|
|||||||
|
|
||||||
rm -r {.bin,.yarn-integrity}
|
rm -r {.bin,.yarn-integrity}
|
||||||
|
|
||||||
rm -r ./{ansicolors,buffer-from,canvas-renderer,cardinal,concat-stream,core-util-is,csscolorparser,dom7}
|
rm -r ./{ansicolors,buffer-from,canvas-renderer,cardinal,commander,concat-stream,core-util-is,csscolorparser,dom7}
|
||||||
rm -r ./{earcut,esm,esprima,geojson-vt,gl-matrix,grid-index,ieee754,inherits,isarray,kdbush,@mapbox,minimist,murmurhash-js}
|
rm -r ./{earcut,esm,esprima,geojson-vt,gl-matrix,grid-index,ieee754,inherits,isarray,kdbush,@mapbox,minimist,murmurhash-js}
|
||||||
rm -r ./{path-to-regexp,pbf,potpack,process-nextick-args,protocol-buffers-schema,quickselect}
|
rm -r ./{path-to-regexp,pbf,point-geometry,potpack,process-nextick-args,protocol-buffers-schema,quickselect}
|
||||||
rm -r ./{readable-stream,redeyed,resolve-protobuf-schema,rw,safe-buffer,sharkdown,split,ssr-window,string_decoder}
|
rm -r ./{readable-stream,redeyed,resolve-protobuf-schema,rw,safe-buffer,sharkdown,split,ssr-window,string_decoder}
|
||||||
rm -r ./{supercluster,template7,text-encoding,through,tinyqueue,topojson-client,ts-custom-error,typedarray}
|
rm -r ./{supercluster,template7,text-encoding,through,tinyqueue,topojson-client,ts-custom-error,typedarray}
|
||||||
rm -r ./{util-deprecate,vector-tile,vt-pbf,whatwg-fetch,wgs84}
|
rm -r ./{util-deprecate,vector-tile,vt-pbf,whatwg-fetch,wgs84}
|
||||||
|
8
scripts/update_credits.sh
Executable file
8
scripts/update_credits.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Updating www/code-credits.txt automatically, this will take a moment..."
|
||||||
|
|
||||||
|
cd www
|
||||||
|
yarn licenses generate-disclaimer > code-credits.txt
|
||||||
|
cd ..
|
||||||
|
yarn licenses generate-disclaimer >> www/code-credits.txt
|
@ -1,5 +1,3 @@
|
|||||||
<html>
|
|
||||||
<body>
|
|
||||||
<h1>
|
<h1>
|
||||||
Art Credits
|
Art Credits
|
||||||
</h1>
|
</h1>
|
||||||
@ -89,5 +87,3 @@
|
|||||||
<br/>
|
<br/>
|
||||||
- Zajkonur
|
- Zajkonur
|
||||||
</p>
|
</p>
|
||||||
</body>
|
|
||||||
</html>
|
|
3106
www/code-credits.txt
3106
www/code-credits.txt
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user