[gnome-games] tools: Add a script to update gameinfo



commit 022370d6a95c1f0e3f2c7deb9f1dbc0555527937
Author: Exalm <exalm7659 gmail com>
Date:   Mon May 7 14:47:11 2018 +0500

    tools: Add a script to update gameinfo
    
    This allows removing the target that updates gameinfo from build system.

 tools/update-gameinfo.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/tools/update-gameinfo.sh b/tools/update-gameinfo.sh
new file mode 100755
index 0000000..cfde468
--- /dev/null
+++ b/tools/update-gameinfo.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+TMP_GAMEINFO_DOC='gameinfo/out/playstation.gameinfo.xml.in.tmp'
+GAMEINFO_DOC='../plugins/playstation/data/playstation.gameinfo.xml.in'
+
+gameinfo/psxdatacenter-gameinfo.py
+gameinfo/sort.py $GAMEINFO_DOC
+gameinfo/merge.py $TMP_GAMEINFO_DOC $GAMEINFO_DOC $GAMEINFO_DOC


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]