Mercurial > hg > vamp-plugin-pack
view deploy/clean-build-and-package @ 116:2405126aa5fe
Of course, the use of dll to build a plugin only works on Windows (where it's necessary because we have static_runtime defined), not on other platforms (where we have a lib- prefix on non-plugin libraries, and we don't have static runtime anyway). Fix and simplify with an additional qmake include file
author | Chris Cannam |
---|---|
date | Fri, 06 Mar 2020 13:32:45 +0000 |
parents | e7badb8450d8 |
children |
line wrap: on
line source
#!/bin/bash set -eu current=$(hg id | awk '{ print $1; }') case "$current" in *+) echo "ERROR: Current working copy has been modified - not proceeding";exit 2;; *);; esac version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h` mkdir -p packages echo if [ -d /Applications ]; then app="Vamp Plugin Pack Installer" volume="$app"-"$version" dmg="$volume".dmg deploy/osx/build-and-package.sh mv "$dmg" packages/ else ./deploy/linux/build-and-test.sh squashedversion=$(echo "$version" | sed 's/_-//g') mv deploy/linux/docker/output/VampPluginPackInstaller-"$current"-x86_64.AppImage \ packages/vamp-plugin-pack-installer-"$squashedversion" fi echo "Done"