summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-04-16 08:57:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-04-16 08:57:41 +0200
commit7580fb718d202bf79aede0f0e79d5b3b3471fdc1 (patch)
tree19dc696675b17b7ed57ea9bf2b7ca519a84d82f5
parent0dfc932b8cf4899bfb73468da22fcdeff57259ae (diff)
build-box.sh : swallow do-falt
-rwxr-xr-xbuild-box.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/build-box.sh b/build-box.sh
index 8d40d70..8a03294 100755
--- a/build-box.sh
+++ b/build-box.sh
@@ -50,7 +50,6 @@ declare -A build_cfgs=(
50 ["theme_viewer",0]="tools/elm-theme-viewer" 50 ["theme_viewer",0]="tools/elm-theme-viewer"
51) 51)
52 52
53
54function build_cfg() 53function build_cfg()
55{ 54{
56 cfg=$1 55 cfg=$1
@@ -65,6 +64,21 @@ function build_all()
65 done 64 done
66} 65}
67 66
67function do_flat()
68{
69 echo -e "\n==== work on ${PURPLE}efl$RESET in ${GREEN}feature/themes/flat$RESET"
70 echo -e " $RED:: git pull$RESET"
71 cd core/efl && git co feature/themes/flat && git pull || exit 1
72 echo -e " $RED:: build$RESET EFL theme"
73 cd ./data/elementary/themes/ || exit 1
74 $PREFIX/bin/edje_cc -id ./img -id ./fdo -fd ./fnt -sd ./snd \
75 -l ../../../COPYING -a ../../../AUTHORS \
76 -fastcomp default.edc || exit 1
77 echo -e " $RED:: install$RESET EFL theme"
78 sudo install default.edj $PREFIX/share/elementary/themes/default.edj
79 git co master || exit 1
80}
81
68built=0 82built=0
69get_sudo_pwd 83get_sudo_pwd
70for arg in $@ 84for arg in $@
@@ -75,6 +89,7 @@ do
75 done 89 done
76done 90done
77[ $built -eq 0 ] && build_all 91[ $built -eq 0 ] && build_all
92do_flat
78efl_ctags 93efl_ctags
79 94
80echo -e "\n==== DONE\n" 95echo -e "\n==== DONE\n"