use override-build instead of prepare

This commit is contained in:
Michael Zanetti 2018-09-21 02:02:13 +02:00
parent 8cb2dc1613
commit 05418f700a

View File

@ -41,8 +41,10 @@ parts:
source: .
after: [desktop-qt5]
project-files: [ nymea-app.pro ]
prepare: git submodule update --init
# options: [ CONFIG+=withavahi ]
override-build: |
git submodule update --init
snapcraftctl build
build-packages:
- qt5-default
- qt5-qmake