Updated build scripts

This commit is contained in:
Tony George 2013-10-12 13:42:33 +05:30
parent 9bb7d14add
commit adc9a0ea30
7 changed files with 32 additions and 14 deletions

12
TODO
View File

@ -1,12 +0,0 @@
* Save only relevant settings to JSON files
* Remove/Simplify official folders
* Change package description
* Implement file monitoring
single timeshift app
Restore
---------
--restore
--restore "path"

View File

@ -4,7 +4,7 @@ backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
sh ./build-deb.sh
sh build-deb.sh
sudo gdebi --non-interactive ../builds/timeshift*.deb
cd "$backup"

View File

@ -7,6 +7,8 @@ cd $DIR
sh ./build-source.sh
cd ./installer
echo "Building installer..."
tgz="/home/teejee/projects/pbuilder/"
dsc="/home/teejee/projects/builds/timeshift*.dsc"

11
build-release.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
sh push.sh
sh build-installer.sh
cd "$backup"

View File

@ -4,7 +4,7 @@ backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
sh ./extract-strings.sh
sh update-pot.sh
rm -rf ../builds
bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds

15
push.sh
View File

@ -1 +1,16 @@
#!/bin/bash
backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
sh build-source.sh
echo "Pushing new revisions to launchpad..."
bzr push lp:~teejee2008/timeshift/trunk
cd "$backup"

View File

@ -4,6 +4,8 @@ backup=`pwd`
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
echo "Updating translation templates..."
xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='timeshift' --package-version='1.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o timeshift.pot src/*.vala
cd "$backup"