Automatically update code-credits.txt

master
Skylar Ittner 5 years ago
parent a008cb298b
commit 16b67f0887

@ -44,6 +44,7 @@
<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/update_credits.sh" />
<hook type="after_prepare" src="scripts/clean_node_modules.sh" />
</platform>

@ -10,9 +10,9 @@ echo "Size before: $(du -sh | cut -d ' ' -f 1)"
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 ./{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 ./{supercluster,template7,text-encoding,through,tinyqueue,topojson-client,ts-custom-error,typedarray}
rm -r ./{util-deprecate,vector-tile,vt-pbf,whatwg-fetch,wgs84}

@ -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,9 +1,7 @@
<html>
<body>
<h1>
<h1>
Art Credits
</h1>
<p>
</h1>
<p>
Map data copyright
<a href="http://www.openmaptiles.org/">
OpenMapTiles
@ -13,9 +11,9 @@
OpenStreetMap contributors
</a>
.
</p>
<hr/>
<p>
</p>
<hr/>
<p>
<a href="https://github.com/seiyria/gameicons-font">
Game Icons Font
</a>
@ -24,8 +22,8 @@
@seiyria
</a>
)
</p>
<p>
</p>
<p>
<a href="https://game-icons.net">
Game icons
</a>
@ -88,6 +86,4 @@
- GeneralAce135
<br/>
- Zajkonur
</p>
</body>
</html>
</p>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save