mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
Fixing previous commit
Sorry for the mistake, it should be fine now.
This commit is contained in:
parent
2cb067878d
commit
b6f84d648f
27
scripts/coding_style.sh
Executable file
27
scripts/coding_style.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Requirements:
|
||||
# astyle >=2.02
|
||||
#
|
||||
|
||||
echo "running astyle for *.cpp ..."
|
||||
|
||||
cd ../src
|
||||
|
||||
astyle --indent=spaces=4 --style=1tbs \
|
||||
--indent-labels --pad-oper --unpad-paren --pad-header \
|
||||
--convert-tabs --indent-preprocessor --break-closing-brackets \
|
||||
--align-pointer=type --align-reference=name \
|
||||
`find -type f -name '*.cpp'`
|
||||
|
||||
echo "running astyle for *.h ..."
|
||||
|
||||
astyle --indent=spaces=4 --style=linux \
|
||||
--indent-labels --pad-oper --unpad-paren --pad-header \
|
||||
--keep-one-line-statements --keep-one-line-blocks \
|
||||
--indent-preprocessor --convert-tabs \
|
||||
--align-pointer=type --align-reference=name \
|
||||
`find -type f -name '*.h'`
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
27
scripts/coding_style.sh~
Executable file
27
scripts/coding_style.sh~
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Requirements:
|
||||
# astyle >=2.02
|
||||
#
|
||||
|
||||
echo "running astyle for *.cpp ..."
|
||||
|
||||
cd ../src
|
||||
|
||||
astyle --indent=spaces=4 --style=1tbs \
|
||||
--indent-labels --pad-oper --unpad-paren --pad-header \
|
||||
--convert-tabs --indent-preprocessor \
|
||||
--align-pointer=type --align-reference=name \
|
||||
`find -type f -name '*.cpp'`
|
||||
|
||||
echo "running astyle for *.h ..."
|
||||
|
||||
astyle --indent=spaces=4 --style=linux \
|
||||
--indent-labels --pad-oper --unpad-paren --pad-header \
|
||||
--keep-one-line-statements --keep-one-line-blocks \
|
||||
--indent-preprocessor --convert-tabs \
|
||||
--align-pointer=type --align-reference=name \
|
||||
`find -type f -name '*.h'`
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
16
scripts/cppcheck.sh
Executable file
16
scripts/cppcheck.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# cppcheck
|
||||
#
|
||||
|
||||
echo "cppcheck..."
|
||||
|
||||
cd ../src
|
||||
cppcheck \
|
||||
--enable=all \
|
||||
--force \
|
||||
--verbose \
|
||||
. > /dev/null
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
18
scripts/cppcheck.sh~
Executable file
18
scripts/cppcheck.sh~
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# cppcheck
|
||||
#
|
||||
|
||||
echo "cppcheck..."
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
cd ../src
|
||||
cppcheck \
|
||||
--enable=all \
|
||||
--force \
|
||||
--verbose \
|
||||
. > /dev/null
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
2
scripts/make-ca-bundle.sh~
Executable file
2
scripts/make-ca-bundle.sh~
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
cat /usr/share/ca-certificates/*/*.crt > ../other/ca-bundle.crt
|
8
scripts/plugin_translations.sh
Executable file
8
scripts/plugin_translations.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
lupdate ../plugins/TestPlugin/TestPlugin.pro -no-obsolete -ts ../plugins/TestPlugin/cs_CZ.ts
|
||||
|
||||
lupdate ../plugins/TestPlugin/TestPlugin.pro -no-obsolete -ts ../plugins/TestPlugin/sk_SK.ts
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
24
scripts/translations.sh
Executable file
24
scripts/translations.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
## circular inclusions workaround - we comment that buggy line
|
||||
sed -i 's/include(3rdparty/##temp/g' ../src/QupZilla.pro
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/cs_CZ.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/sk_SK.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/nl_NL.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/de_DE.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/es.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/it_IT.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -no-obsolete -ts ../translations/zh_CN.ts
|
||||
|
||||
## uncomment it now
|
||||
sed -i 's/##temp/include(3rdparty/g' ../src/QupZilla.pro
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
24
scripts/translations_safe.sh
Executable file
24
scripts/translations_safe.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
## circular inclusions workaround - we comment that buggy line
|
||||
sed -i 's/include(3rdparty/##temp/g' ../src/QupZilla.pro
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/cs_CZ.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/sk_SK.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/nl_NL.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/de_DE.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/es.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/it_IT.ts
|
||||
|
||||
lupdate ../src/QupZilla.pro -ts ../translations/zh_CN.ts
|
||||
|
||||
## uncomment it now
|
||||
sed -i 's/##temp/include(3rdparty/g' ../src/QupZilla.pro
|
||||
|
||||
read -p "Press [ENTER] to close terminal"
|
||||
exit
|
4343
translations/es.ts
Normal file
4343
translations/es.ts
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user