mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Updated scripts to play nice with changed directory structure.
This commit is contained in:
parent
862d287647
commit
d8930197cb
|
@ -32,10 +32,5 @@ format_sources
|
|||
echo "running astyle for *.h ..."
|
||||
format_headers
|
||||
|
||||
echo "running astyle for plugins ..."
|
||||
cd ../plugins
|
||||
format_sources
|
||||
format_headers
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
||||
|
|
|
@ -16,8 +16,5 @@ echo "cppcheck..."
|
|||
cd ../src
|
||||
check_code
|
||||
|
||||
cd ../plugins
|
||||
check_code
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
lupdate ../plugins/TestPlugin/TestPlugin.pro -no-obsolete
|
||||
lupdate ../src/plugins/TestPlugin/TestPlugin.pro -no-obsolete
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
||||
|
|
|
@ -7,8 +7,8 @@ fi
|
|||
## circular inclusions workaround - we comment that buggy line
|
||||
sed -i 's/include(3rdparty/##temp/g' ../src/src.pro
|
||||
|
||||
lupdate $ARGUMENTS ../src/src.pro
|
||||
lupdate $ARGUMENTS ../src/src.pro -ts ../translations/empty.ts
|
||||
lupdate $ARGUMENTS ../src/main/main.pro
|
||||
lupdate $ARGUMENTS ../src/main/main.pro -ts ../translations/empty.ts
|
||||
|
||||
## uncomment it now
|
||||
sed -i 's/##temp/include(3rdparty/g' ../src/src.pro
|
||||
|
|
|
@ -53,7 +53,7 @@ equals(d_portable, "true") { DEFINES += PORTABLE_BUILD }
|
|||
DEFINES += USE_DATADIR=\\\"""$$data_folder/"\\\""
|
||||
|
||||
#Git revision
|
||||
rev = $$system(sh $$PWD/../scripts/getrevision.sh)
|
||||
rev = $$system(cd ../ && sh $$PWD/../scripts/getrevision.sh)
|
||||
!equals(rev, ""): DEFINES += GIT_REVISION=\\\"""$$rev"\\\""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user