~nskaggs/ubuntu-ui-toolkit/add-popover-object-support

« back to all changes in this revision

Viewing changes to push_to_phone.sh

  • Committer: CI bot
  • Author(s): Zsombor Egri, Tarmac, Zoltán Balogh
  • Date: 2014-06-18 17:10:31 UTC
  • mfrom: (1000.76.9 landing_04-06)
  • Revision ID: ps-jenkins@lists.canonical.com-20140618171031-1s026ulaxymh2e9f
  [Leo Arias ]
  * On the autopilot helper for the header, fix the swipe to show
    when hidden.
  * Added a fixture for autopilot tests to use a fake home directory.
    Fixes: https://bugs.launchpad.net/bugs/1317639
  * Cleaned the containers in unity test using the alternate
    launcher.

  [ Christian Dywan ]   
  * Add a launcher with a switch for the QQMLEngine.

  [ Tim Peeters ]
  * Anchor the internal PageTreeNode of PageStack to fill its parent.
    Fixes: https://bugs.launchpad.net/bugs/1322527
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Copyright 2014 Canonical Ltd.
 
4
#
 
5
# This program is free software; you can redistribute it and/or modify
 
6
# it under the terms of the GNU Lesser General Public License as published by
 
7
# the Free Software Foundation; version 3.
 
8
#
 
9
# This program is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU Lesser General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU Lesser General Public License
 
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
#
 
17
# Author: Christian Dywan <christian.dywan@canonical.com>
 
18
 
 
19
ARCH=arm-linux-gnueabihf
 
20
 
 
21
# Make the image writable
 
22
phablet-config writable-image || exit 1
 
23
# Copy selectively to avoid pushing binaries (arch conflict) and sources (unneeded)
 
24
cd modules || exit 1
 
25
for i in $(ls Ubuntu/Components/*.qml 2>/dev/null); do
 
26
    echo modules/$i '->' /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/
 
27
    adb push $i /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/
 
28
done
 
29
for i in $(ls Ubuntu/Components/*.js 2>/dev/null); do
 
30
    echo modules/$i '->' /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/
 
31
    adb push $i /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/
 
32
done
 
33
cd ..
 
34
for i in ListItems Pickers Popups Colors Styles Themes artwork; do
 
35
    adb push modules/Ubuntu/Components/$i/ /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/$i || exit 1
 
36
done
 
37
# Autopilot tests should always match the Toolkit
 
38
adb push tests/autopilot/ubuntuuitoolkit/ /usr/lib/python2.7/dist-packages/ubuntuuitoolkit || exit 1
 
39
adb push examples/ubuntu-ui-toolkit-gallery/ /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery || exit 1
 
40
# For launching the gallery easily
 
41
adb push examples/ubuntu-ui-toolkit-gallery/*.desktop /usr/share/applications/ || exit 1