Browse Source

Automatically update code-credits.txt

master
Skylar Ittner 2 years ago
parent
commit
16b67f0887
  1. 1
      config.xml
  2. 4
      scripts/clean_node_modules.sh
  3. 8
      scripts/update_credits.sh
  4. 182
      www/art-credits.html
  5. 4222
      www/code-credits.txt

1
config.xml

@ -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>

4
scripts/clean_node_modules.sh

@ -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}

8
scripts/update_credits.sh

@ -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

182
www/art-credits.html

@ -1,93 +1,89 @@
<html>
<body>
<h1>
Art Credits
</h1>
<p>
Map data copyright
<a href="http://www.openmaptiles.org/">
OpenMapTiles
</a>
and
<a href="http://www.openstreetmap.org/about/">
OpenStreetMap contributors
</a>
.
</p>
<hr/>
<p>
<a href="https://github.com/seiyria/gameicons-font">
Game Icons Font
</a>
by Kyle J. Kemp (
<a href="https://github.com/seiyria">
@seiyria
</a>
)
</p>
<p>
<a href="https://game-icons.net">
Game icons
</a>
used in the aforementioned font made by:
<br/>
- Lorc, http://lorcblog.blogspot.com
<br/>
- Delapouite, http://delapouite.com
<br/>
- John Colburn, http://ninmunanmu.com
<br/>
- Felbrigg, http://blackdogofdoom.blogspot.co.uk
<br/>
- John Redman, http://www.uniquedicetowers.com
<br/>
- Carl Olsen, https://twitter.com/unstoppableCarl
<br/>
- Sbed, http://opengameart.org/content/95-game-icons
<br/>
- PriorBlue
<br/>
- Willdabeast, http://wjbstories.blogspot.com
<br/>
- Viscious Speed, http://viscious-speed.deviantart.com - CC0
<br/>
- Lord Berandas, http://berandas.deviantart.com
<br/>
- Irongamer, http://ecesisllc.wix.com/home
<br/>
- HeavenlyDog, http://www.gnomosygoblins.blogspot.com
<br/>
- Lucas
<br/>
- Faithtoken, http://fungustoken.deviantart.com
<br/>
- Skoll
<br/>
- Andy Meneely, http://www.se.rit.edu/~andy/
<br/>
- Cathelineau
<br/>
- Kier Heyl
<br/>
- Aussiesim
<br/>
- Sparker, http://citizenparker.com
<br/>
- Zeromancer - CC0
<br/>
- Rihlsul
<br/>
- Quoting
<br/>
- Guard13007, https://guard13007.com
<br/>
- DarkZaitzev, http://darkzaitzev.deviantart.com
<br/>
- SpencerDub
<br/>
- GeneralAce135
<br/>
- Zajkonur
</p>
</body>
</html>
<h1>
Art Credits
</h1>
<p>
Map data copyright
<a href="http://www.openmaptiles.org/">
OpenMapTiles
</a>
and
<a href="http://www.openstreetmap.org/about/">
OpenStreetMap contributors
</a>
.
</p>
<hr/>
<p>
<a href="https://github.com/seiyria/gameicons-font">
Game Icons Font
</a>
by Kyle J. Kemp (
<a href="https://github.com/seiyria">
@seiyria
</a>
)
</p>
<p>
<a href="https://game-icons.net">
Game icons
</a>
used in the aforementioned font made by:
<br/>
- Lorc, http://lorcblog.blogspot.com
<br/>
- Delapouite, http://delapouite.com
<br/>
- John Colburn, http://ninmunanmu.com
<br/>
- Felbrigg, http://blackdogofdoom.blogspot.co.uk
<br/>
- John Redman, http://www.uniquedicetowers.com
<br/>
- Carl Olsen, https://twitter.com/unstoppableCarl
<br/>
- Sbed, http://opengameart.org/content/95-game-icons
<br/>
- PriorBlue
<br/>
- Willdabeast, http://wjbstories.blogspot.com
<br/>
- Viscious Speed, http://viscious-speed.deviantart.com - CC0
<br/>
- Lord Berandas, http://berandas.deviantart.com
<br/>
- Irongamer, http://ecesisllc.wix.com/home
<br/>
- HeavenlyDog, http://www.gnomosygoblins.blogspot.com
<br/>
- Lucas
<br/>
- Faithtoken, http://fungustoken.deviantart.com
<br/>
- Skoll
<br/>
- Andy Meneely, http://www.se.rit.edu/~andy/
<br/>
- Cathelineau
<br/>
- Kier Heyl
<br/>
- Aussiesim
<br/>
- Sparker, http://citizenparker.com
<br/>
- Zeromancer - CC0
<br/>
- Rihlsul
<br/>
- Quoting
<br/>
- Guard13007, https://guard13007.com
<br/>
- DarkZaitzev, http://darkzaitzev.deviantart.com
<br/>
- SpencerDub
<br/>
- GeneralAce135
<br/>
- Zajkonur
</p>

4222
www/code-credits.txt
File diff suppressed because it is too large
View File

Loading…
Cancel
Save