Logging improved
This commit is contained in:
parent
c4691f0473
commit
27b973657c
|
@ -1,4 +1,4 @@
|
||||||
vn-repo (2.0.10) stable; urgency=low
|
vn-repo (2.0.11) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
10
vn-debuild
10
vn-debuild
|
@ -11,28 +11,28 @@ buildDir="$srcDir/.."
|
||||||
repreproDir="/var/cache/reprepro"
|
repreproDir="/var/cache/reprepro"
|
||||||
codename="stable"
|
codename="stable"
|
||||||
|
|
||||||
echo "++++++++++++++ Building source code."
|
echo -e -e "\n#Building source code."
|
||||||
echo " * Date: $(date)"
|
echo " * Date: $(date)"
|
||||||
echo " * Directory: $buildDir"
|
echo " * Directory: $buildDir"
|
||||||
|
|
||||||
if [ -f "$srcDir/package.json" ]
|
if [ -f "$srcDir/package.json" ]
|
||||||
then
|
then
|
||||||
echo "++++++++++++++ Installing Node dependencies."
|
echo -e "\n#Installing Node dependencies."
|
||||||
(cd "$srcDir" && npm --silent install)
|
(cd "$srcDir" && npm --silent install)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$srcDir/debian/changelog" ]
|
if [ -f "$srcDir/debian/changelog" ]
|
||||||
then
|
then
|
||||||
echo "++++++++++++++ Cleaning last build."
|
echo -e "\n#Cleaning last build."
|
||||||
rm -f $buildDir/*.deb
|
rm -f $buildDir/*.deb
|
||||||
rm -f $buildDir/*.changes
|
rm -f $buildDir/*.changes
|
||||||
rm -f $buildDir/*.build
|
rm -f $buildDir/*.build
|
||||||
(cd "$srcDir" && debian/rules clean)
|
(cd "$srcDir" && debian/rules clean)
|
||||||
|
|
||||||
echo "++++++++++++++ Building Debian packages."
|
echo -e "\n#Building Debian packages."
|
||||||
(cd "$srcDir" && debuild -uc -us -b)
|
(cd "$srcDir" && debuild -uc -us -b)
|
||||||
|
|
||||||
echo "++++++++++++++ Adding packages to repository."
|
echo -e "\n#Adding packages to repository."
|
||||||
|
|
||||||
cut -d" " -f1 "$srcDir/debian/files" |
|
cut -d" " -f1 "$srcDir/debian/files" |
|
||||||
while read debFile
|
while read debFile
|
||||||
|
|
Reference in New Issue