diff options
author | Ajay Garg <ajay@activitycentral.com> | 2013-05-12 11:17:59 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2013-05-12 11:17:59 (GMT) |
commit | c797b48cac9ba8d20a89d0fe6f7fb162808a2c39 (patch) | |
tree | 2d060a4b7bd26e7a50c76260cf78161cccf85ede |
Initial commit.
-rw-r--r-- | do_it_all.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/do_it_all.sh b/do_it_all.sh new file mode 100644 index 0000000..3647e82 --- /dev/null +++ b/do_it_all.sh @@ -0,0 +1,23 @@ +set -e + +git_url="git://git.sugarlabs.org/clock/mainline.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 +python setup.py build + +# Now, apply the AC patches. +git am ../patches/*.patch + +# Finally, build the bundle (to be retrieved from "activity/dist"). +python setup.py dist_xo + |