summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmike <michael.blumenkrantz@gmail.com>2014-03-30 00:29:13 -0400
committerzmike <michael.blumenkrantz@gmail.com>2014-03-30 00:29:13 -0400
commitb0a55a18c9f2783777fe68a385b7bee7ef46cbc2 (patch)
tree4c5dfff05d33075d8f2a857d1d5bdfdb31934295
parent6717cc7cbb45b328e1f3e5575520a7f1d8414765 (diff)
use git for version
-rwxr-xr-xbuild.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 9858f87..98576d2 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,5 @@
1#!/bin/bash 1#!/bin/bash
2v=$(svnversion -n .|grep -Eo "^[0-9]+") 2v=$(git log --oneline|wc -l)
3[[ -z $v ]] && v=$(git svn log --oneline --limit=1 .|cut -d' ' -f1|sed 's/r//' | tr -d '\n')
4[[ -z $v ]] && v=75000
5edje_cc -DVERSION=\"$v\" -id images/ -fd . darkness.edc -o darkness.edj 3edje_cc -DVERSION=\"$v\" -id images/ -fd . darkness.edc -o darkness.edj
6[[ $? != 0 ]] && exit 1 4[[ $? != 0 ]] && exit 1
7case "$1" in 5case "$1" in