From 6cceff291f1cc88878e819cda7cd74abca520990 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 22 Jul 2010 15:32:06 +0200 Subject: [PATCH] Add build script for Linux. --- build/build.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 build/build.sh diff --git a/build/build.sh b/build/build.sh new file mode 100755 index 0000000..0121919 --- /dev/null +++ b/build/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh +if [ ! -d src ]; then + echo "You should call this script from the top level checkout (e.g., call it as ./build/build.sh)" + exit 1 +fi +[ -e "./C:" ] && echo "Move ./C: out of the way first" && exit 1 +# Move C: out of the source dir (it breaks installation of the resulting +# .sis). This directory is created when running MobileGTD using a normal +# python installation and pys60-compat. +[ -e "src/C:" ] && mv "src/C:" "./C:" +ensymble py2sis src --uid=0xA0008CDD --vendor="Martin Mauch" --appname "MobileGTD" --caption="MobileGTD unstable" --caps=ReadUserData+WriteUserData MobileGTD.sis +[ -e "./C:" ] && mv "./C:" "src/C:" -- 2.30.2