diff options
Diffstat (limited to 'do_it_all.sh')
-rw-r--r-- | do_it_all.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/do_it_all.sh b/do_it_all.sh new file mode 100644 index 0000000..7e92d9c --- /dev/null +++ b/do_it_all.sh @@ -0,0 +1,22 @@ +set -e + +git_url="git://git.sugarlabs.org/tamtam/tamtam.git" + + +# Remove the upstream cloned-directory, if any. +if [ -d "activity" ]; then + sudo rm -r activity +fi + +# Clone a fresh copy of the upstream. +git clone "$git_url" activity + +# Build the activity (to generate "generated" files such as locale files). +cd activity + +# Now, apply the AC patches. +git am ../patches/*.patch + +# Finally, build the bundle (to be retrieved from "activity/dist"). +python setup.py dist_xo + |