We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd1fb96 commit 54ef860Copy full SHA for 54ef860
build.sh
@@ -13,13 +13,26 @@ else
13
JOBS=1
14
fi
15
16
-echo "Compiling with $JOBS threads..."
+VERSION=$(cat src/version.h |cut -d\" -f2)
17
+echo "Compiling SilentDragon $VERSION with $JOBS threads..."
18
+CONF=silentdragon.pro
19
+
20
+set -e
21
+qbuild () {
22
+ qmake $CONF CONFIG+=debug
23
+ lupdate $CONF
24
+ lrelease $CONF
25
+ make -j$JOBS
26
+}
27
28
if [ "$1" == "clean" ]; then
29
make clean
30
+elif [ "$1" == "linguist" ]; then
31
32
33
elif [ "$1" == "cleanbuild" ]; then
34
- qmake silentdragon.pro CONFIG+=debug; make -j$JOBS
35
+ qbuild
36
else
37
38
0 commit comments