* Spanish translation and minor fixes * Rounding movement measurements * Adding linguistics option to campaign settings * Removing NPC stuff from the json options * Saving Mythras v2 progress * Modify mythras sheet.json for new options * stash * Restored tranlastions and all but mook css * Automation script added to help building Mythras sheets * Autocalc migration up to skills, Mythras * sheetwork autocalc for standard skills * Auto calc up to passions * Fix tenacity * Finish migrating skills to shett workers * Finished skills auto calc * Half done with compat tab * Stash work up to mostly finish mook skills * Fixed percent symbol on Athletics mook btn * Added up to psionic powers for mooks and added collapse to magic sections * Stash mook sup to animism * more stashed edits * Stash commits * v2 Mythras * A few edits to Mythras changelog, typos and spelling * Style adjustments for Firefox * Small bugfixes for the Mythras v2 conversion scripts * Small bugfixes for the Mythras v2 conversion scripts * Some minor CSS adjustments to support Firefox better * Mythras: fix styling issues with fetish tenacity
42 lines
871 B
Bash
Executable File
42 lines
871 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Validate Javascript
|
|
echo "### Javascript validation:"
|
|
acorn --silent templates/scripts/base.js
|
|
|
|
# CSS Validation
|
|
echo ""
|
|
echo "### CSS validation:"
|
|
css-validator ./Mythras.css 2>&1 | grep -v "unknown vendor exten"
|
|
|
|
# Translation Validation
|
|
echo ""
|
|
echo "### Translation JSON Validation:"
|
|
cat ./translation.json | json_verify
|
|
|
|
# Validate sheet.json
|
|
echo ""
|
|
echo "### sheet.json validation:"
|
|
cat ./sheet.json | json_verify
|
|
|
|
# HTML
|
|
read -p "<Enter to compile and copy HTML>"
|
|
./render_templates.py
|
|
cat ./Mythras.html | xclip -selection clipboard
|
|
|
|
# CSS
|
|
read -p "<Enter to copy CSS>"
|
|
cat ./Mythras.css | xclip -selection clipboard
|
|
|
|
# Translations
|
|
read -p "<Enter to copy translations>"
|
|
cat ./translation.json | xclip -selection clipboard
|
|
|
|
# Copy to M-Space if all has been successful
|
|
#./copy-to-mspace.sh
|
|
#echo ""
|
|
#echo "Copied to M-Space"
|
|
|
|
echo ""
|
|
echo "Done"
|