Browse Source

Improve instructions in README (#197)

Most important change is replacing `-q` with `-nv` (non-verbose, i.e., shows some meta information, but won't display a progress bar). [ci skip]
master
TheAssassin 7 years ago
committed by probonopd
parent
commit
c79387c953
  1. 10
      README.md

10
README.md

@ -42,7 +42,7 @@ the application uses.
Given that a desktop file should be provided with an AppImage, `linuxdeployqt` can use that to determine the parameters of the build. Given that a desktop file should be provided with an AppImage, `linuxdeployqt` can use that to determine the parameters of the build.
`linuxdeployqt ./path/to/appdir/usr/share/application_name.desktop` `linuxdeployqt path/to/appdir/usr/share/application_name.desktop`
Where the _desktop_ file specifies the executable to be run (with `EXEC=`), the name of the applications and an icon. Where the _desktop_ file specifies the executable to be run (with `EXEC=`), the name of the applications and an icon.
See [desktop file specification](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html). See [desktop file specification](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html).
@ -100,7 +100,7 @@ script:
- qmake CONFIG+=release PREFIX=/usr - qmake CONFIG+=release PREFIX=/usr
- make -j$(nproc) - make -j$(nproc)
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
- wget -c -q "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
@ -108,10 +108,10 @@ script:
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
after_success: after_success:
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- # curl --upload-file ./APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage - # curl --upload-file APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh ./APPNAME*.AppImage* - bash upload.sh APPNAME*.AppImage*
branches: branches:
except: except:

Loading…
Cancel
Save