mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Minor changes in scripts.
This commit is contained in:
parent
01f07a4a2a
commit
992c7a4de1
@ -10,7 +10,7 @@ function format_sources {
|
|||||||
--convert-tabs --indent-preprocessor --break-closing-brackets \
|
--convert-tabs --indent-preprocessor --break-closing-brackets \
|
||||||
--align-pointer=type --align-reference=name \
|
--align-pointer=type --align-reference=name \
|
||||||
`find -type f -name '*.cpp'`
|
`find -type f -name '*.cpp'`
|
||||||
|
|
||||||
find . -name "*.orig" -print0 | xargs -0 rm -rf
|
find . -name "*.orig" -print0 | xargs -0 rm -rf
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ function format_headers {
|
|||||||
--indent-preprocessor --convert-tabs \
|
--indent-preprocessor --convert-tabs \
|
||||||
--align-pointer=type --align-reference=name \
|
--align-pointer=type --align-reference=name \
|
||||||
`find -type f -name '*.h'`
|
`find -type f -name '*.h'`
|
||||||
|
|
||||||
find . -name "*.orig" -print0 | xargs -0 rm -rf
|
find . -name "*.orig" -print0 | xargs -0 rm -rf
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,6 +31,5 @@ format_sources
|
|||||||
|
|
||||||
echo "running astyle for *.h ..."
|
echo "running astyle for *.h ..."
|
||||||
format_headers
|
format_headers
|
||||||
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
@ -22,5 +22,4 @@ check_code
|
|||||||
cd ../main
|
cd ../main
|
||||||
check_code
|
check_code
|
||||||
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
@ -18,4 +18,4 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit;
|
exit 0
|
||||||
|
@ -4,5 +4,4 @@
|
|||||||
cat /usr/share/ca-certificates/*/*.crt > ../src/lib/data/data/ca-bundle.crt
|
cat /usr/share/ca-certificates/*/*.crt > ../src/lib/data/data/ca-bundle.crt
|
||||||
cat /etc/ssl/certs/*.pem >> ../src/lib/data/data/ca-bundle.crt
|
cat /etc/ssl/certs/*.pem >> ../src/lib/data/data/ca-bundle.crt
|
||||||
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
@ -7,5 +7,4 @@ do
|
|||||||
lupdate $pluginPro -no-obsolete
|
lupdate $pluginPro -no-obsolete
|
||||||
done
|
done
|
||||||
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd ../src/ && python ../scripts/pythonLineCounter.py
|
cd ../src/ && python ../scripts/pythonLineCounter.py
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
TEAM="nowrep"
|
|
||||||
PACKAGE="qupzilla"
|
|
||||||
echo ""
|
|
||||||
echo "Launchpad PPA Statistics"
|
|
||||||
echo "Team: $TEAM"
|
|
||||||
echo "Package: $PACKAGE"
|
|
||||||
echo ""
|
|
||||||
echo "Oneiric: i386: " $(python ppastats.py $TEAM $PACKAGE oneiric i386|tail -c -2);
|
|
||||||
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE oneiric amd64|tail -c -2);
|
|
||||||
echo ""
|
|
||||||
echo "Natty: i386: " $(python ppastats.py $TEAM $PACKAGE natty i386|tail -c -2);
|
|
||||||
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE natty amd64|tail -c -2);
|
|
||||||
echo ""
|
|
||||||
echo "Maverick: i386: " $(python ppastats.py $TEAM $PACKAGE maverick i386|tail -c -2);
|
|
||||||
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE maverick amd64|tail -c -2);
|
|
||||||
echo ""
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
|
||||||
exit
|
|
@ -13,5 +13,4 @@ lupdate $ARGUMENTS ../src/lib/lib.pro -ts ../translations/empty.ts
|
|||||||
## uncomment it now
|
## uncomment it now
|
||||||
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
|
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
|
||||||
|
|
||||||
read -p "Press [ENTER] to close terminal"
|
exit 0
|
||||||
exit
|
|
||||||
|
Loading…
Reference in New Issue
Block a user