mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-04 22:22:32 +02:00
Fixes configure.sh Fixes Windows code signing Fixes an issue with conan cache on windows Fixes build manual script Fixes build manual Remove unused props Use long options Yet another manual fix Fixes iss
17 lines
409 B
Bash
Executable File
17 lines
409 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
((${BASH_VERSION%%.*} >= 4)) || { echo >&2 "$0: Error: Please upgrade Bash."; exit 1; }
|
|
|
|
set -euxo pipefail
|
|
|
|
cd build
|
|
|
|
if [[ "${OSTYPE}" == msys* && ${GIT_BRANCH} == release* ]]; then # Windows
|
|
cmake --build . --target innosetup --config "${AUDACITY_BUILD_TYPE}"
|
|
else
|
|
cpack -C "${AUDACITY_BUILD_TYPE}" --verbose
|
|
fi
|
|
|
|
# Remove the temporary directory
|
|
rm -Rf package/_CPack_Packages
|