2021-04-26 20:56:39 +00:00
#! /usr/bin/env bash
2019-10-28 21:30:08 +00:00
set -e
2017-12-31 18:53:16 +00:00
2019-10-28 21:30:08 +00:00
outputFolder = '_output'
testPackageFolder = '_tests'
2018-06-08 01:13:58 +00:00
2019-10-28 21:30:08 +00:00
#Artifact variables
artifactsFolder = "_artifacts" ;
2015-07-04 12:10:11 +00:00
2017-12-31 18:53:16 +00:00
ProgressStart( )
{
echo " Start ' $1 ' "
}
ProgressEnd( )
{
echo " Finish ' $1 ' "
}
2019-08-22 21:28:51 +00:00
UpdateVersionNumber( )
{
if [ " $LIDARRVERSION " != "" ] ; then
echo "Updating Version Info"
2019-10-28 21:30:08 +00:00
sed -i'' -e " s/<AssemblyVersion>[0-9.*]\+<\/AssemblyVersion>/<AssemblyVersion> $LIDARRVERSION <\/AssemblyVersion>/g " src/Directory.Build.props
sed -i'' -e " s/<AssemblyConfiguration>[\$()A-Za-z-]\+<\/AssemblyConfiguration>/<AssemblyConfiguration> ${ BUILD_SOURCEBRANCHNAME } <\/AssemblyConfiguration>/g " src/Directory.Build.props
sed -i'' -e " s/<string>10.0.0.0<\/string>/<string> $LIDARRVERSION <\/string>/g " macOS/Lidarr.app/Contents/Info.plist
2019-08-22 21:28:51 +00:00
fi
}
2021-04-26 20:56:39 +00:00
EnableBsdSupport( )
{
#todo enable sdk with
#SDK_PATH=$(dotnet --list-sdks | grep -P '5\.\d\.\d+' | head -1 | sed 's/\(5\.[0-9]*\.[0-9]*\).*\[\(.*\)\]/\2\/\1/g')
# BUNDLED_VERSIONS="${SDK_PATH}/Microsoft.NETCoreSdk.BundledVersions.props"
if grep -qv freebsd-x64 src/Directory.Build.props; then
sed -i'' -e "s^<RuntimeIdentifiers>\(.*\)</RuntimeIdentifiers>^<RuntimeIdentifiers>\1;freebsd-x64</RuntimeIdentifiers>^g" src/Directory.Build.props
sed -i'' -e "s^<ExcludedRuntimeFrameworkPairs>\(.*\)</ExcludedRuntimeFrameworkPairs>^<ExcludedRuntimeFrameworkPairs>\1;freebsd-x64:net472</ExcludedRuntimeFrameworkPairs>^g" src/Directory.Build.props
fi
}
2017-10-07 06:21:06 +00:00
LintUI( )
{
ProgressStart 'ESLint'
2019-10-28 21:30:08 +00:00
yarn lint
2017-10-07 06:21:06 +00:00
ProgressEnd 'ESLint'
ProgressStart 'Stylelint'
2019-10-17 20:42:49 +00:00
if [ " $os " = "windows" ] ; then
2019-10-28 21:30:08 +00:00
yarn stylelint-windows
2019-02-16 14:49:24 +00:00
else
2019-10-28 21:30:08 +00:00
yarn stylelint-linux
2019-02-16 14:49:24 +00:00
fi
2017-10-07 06:21:06 +00:00
ProgressEnd 'Stylelint'
}
2015-07-04 12:10:11 +00:00
Build( )
{
2017-12-31 18:53:16 +00:00
ProgressStart 'Build'
2015-07-04 12:10:11 +00:00
rm -rf $outputFolder
2019-08-22 21:28:51 +00:00
rm -rf $testPackageFolder
2015-07-04 12:10:11 +00:00
2020-01-02 02:28:18 +00:00
slnFile = src/Lidarr.sln
2019-10-17 20:42:49 +00:00
if [ $os = "windows" ] ; then
2020-01-02 02:28:18 +00:00
platform = Windows
2015-07-04 12:10:11 +00:00
else
2020-01-02 02:28:18 +00:00
platform = Posix
2015-07-04 12:10:11 +00:00
fi
2016-01-16 06:06:33 +00:00
2019-10-28 21:30:08 +00:00
dotnet clean $slnFile -c Debug
dotnet clean $slnFile -c Release
if [ [ -z " $RID " || -z " $FRAMEWORK " ] ] ;
then
2020-01-02 02:28:18 +00:00
dotnet msbuild -restore $slnFile -p:Configuration= Release -p:Platform= $platform -t:PublishAllRids
2019-10-28 21:30:08 +00:00
else
2020-01-02 02:28:18 +00:00
dotnet msbuild -restore $slnFile -p:Configuration= Release -p:Platform= $platform -p:RuntimeIdentifiers= $RID -t:PublishAllRids
2019-10-28 21:30:08 +00:00
fi
2019-02-22 02:10:39 +00:00
2017-12-31 18:53:16 +00:00
ProgressEnd 'Build'
2015-07-04 12:10:11 +00:00
}
2019-09-12 20:35:22 +00:00
YarnInstall( )
2015-07-04 12:10:11 +00:00
{
2017-12-31 18:53:16 +00:00
ProgressStart 'yarn install'
2020-07-04 04:01:47 +00:00
yarn install --frozen-lockfile --network-timeout 120000
2017-12-31 18:53:16 +00:00
ProgressEnd 'yarn install'
2019-09-12 20:35:22 +00:00
}
2015-07-04 12:10:11 +00:00
2021-06-27 04:05:34 +00:00
RunWebpack( )
2019-09-12 20:35:22 +00:00
{
2021-06-27 04:05:34 +00:00
ProgressStart 'Running webpack'
yarn run build --env production
ProgressEnd 'Running webpack'
2015-07-04 12:10:11 +00:00
}
2019-10-17 20:42:49 +00:00
PackageFiles( )
2015-07-04 12:10:11 +00:00
{
2019-10-17 20:42:49 +00:00
local folder = " $1 "
local framework = " $2 "
local runtime = " $3 "
2017-12-31 18:53:16 +00:00
2019-10-17 20:42:49 +00:00
rm -rf $folder
mkdir -p $folder
cp -r $outputFolder /$framework /$runtime /publish/* $folder
cp -r $outputFolder /Lidarr.Update/$framework /$runtime /publish $folder /Lidarr.Update
cp -r $outputFolder /UI $folder
2018-12-08 03:04:36 +00:00
2019-10-17 20:42:49 +00:00
echo "Adding LICENSE"
cp LICENSE.md $folder
}
2019-09-12 20:35:22 +00:00
2019-10-17 20:42:49 +00:00
PackageLinux( )
{
local framework = " $1 "
2019-10-28 21:30:08 +00:00
local runtime = " $2 "
2019-10-17 20:42:49 +00:00
2019-10-28 21:30:08 +00:00
ProgressStart " Creating $runtime Package for $framework "
2015-07-04 12:10:11 +00:00
2019-10-28 21:30:08 +00:00
local folder = $artifactsFolder /$runtime /$framework /Lidarr
2015-07-04 12:10:11 +00:00
2019-10-28 21:30:08 +00:00
PackageFiles " $folder " " $framework " " $runtime "
2019-10-17 20:42:49 +00:00
echo "Removing Service helpers"
rm -f $folder /ServiceUninstall.*
rm -f $folder /ServiceInstall.*
2015-07-04 12:10:11 +00:00
2017-10-25 02:31:37 +00:00
echo "Removing Lidarr.Windows"
2019-10-17 20:42:49 +00:00
rm $folder /Lidarr.Windows.*
2015-07-04 12:10:11 +00:00
2017-10-25 02:31:37 +00:00
echo "Adding Lidarr.Mono to UpdatePackage"
2019-10-17 20:42:49 +00:00
cp $folder /Lidarr.Mono.* $folder /Lidarr.Update
2021-12-24 17:40:37 +00:00
if [ " $framework " = "net6.0" ] ; then
2019-10-28 21:30:08 +00:00
cp $folder /Mono.Posix.NETStandard.* $folder /Lidarr.Update
cp $folder /libMonoPosixHelper.* $folder /Lidarr.Update
fi
2016-01-16 06:06:33 +00:00
2019-10-28 21:30:08 +00:00
ProgressEnd " Creating $runtime Package for $framework "
2015-07-04 12:10:11 +00:00
}
2018-12-08 03:04:36 +00:00
PackageMacOS( )
2015-07-04 12:10:11 +00:00
{
2019-10-17 20:42:49 +00:00
local framework = " $1 "
2021-12-24 17:54:40 +00:00
local runtime = " $2 "
2019-10-17 20:42:49 +00:00
2021-12-24 17:54:40 +00:00
ProgressStart " Creating $runtime Package for $framework "
2017-12-31 18:53:16 +00:00
2021-12-24 17:54:40 +00:00
local folder = $artifactsFolder /$runtime /$framework /Lidarr
2019-10-17 20:42:49 +00:00
2021-12-24 17:54:40 +00:00
PackageFiles " $folder " " $framework " " $runtime "
2018-12-08 03:04:36 +00:00
2019-10-17 20:42:49 +00:00
echo "Removing Service helpers"
rm -f $folder /ServiceUninstall.*
rm -f $folder /ServiceInstall.*
echo "Removing Lidarr.Windows"
rm $folder /Lidarr.Windows.*
2015-07-04 12:10:11 +00:00
2019-10-17 20:42:49 +00:00
echo "Adding Lidarr.Mono to UpdatePackage"
cp $folder /Lidarr.Mono.* $folder /Lidarr.Update
2021-12-24 17:40:37 +00:00
if [ " $framework " = "net6.0" ] ; then
2019-10-28 21:30:08 +00:00
cp $folder /Mono.Posix.NETStandard.* $folder /Lidarr.Update
cp $folder /libMonoPosixHelper.* $folder /Lidarr.Update
fi
2015-07-04 12:10:11 +00:00
2017-12-31 18:53:16 +00:00
ProgressEnd 'Creating MacOS Package'
2015-07-04 12:10:11 +00:00
}
2018-12-08 03:04:36 +00:00
PackageMacOSApp( )
2015-07-04 12:10:11 +00:00
{
2019-10-17 20:42:49 +00:00
local framework = " $1 "
2021-12-24 17:54:40 +00:00
local runtime = " $2 "
2019-10-17 20:42:49 +00:00
2021-12-24 17:54:40 +00:00
ProgressStart " Creating $runtime App Package for $framework "
2015-07-04 12:10:11 +00:00
2021-12-24 17:54:40 +00:00
local folder = $artifactsFolder /$runtime -app/$framework
2018-12-08 03:04:36 +00:00
2019-10-17 20:42:49 +00:00
rm -rf $folder
mkdir -p $folder
2019-10-28 21:30:08 +00:00
cp -r macOS/Lidarr.app $folder
2019-10-17 20:42:49 +00:00
mkdir -p $folder /Lidarr.app/Contents/MacOS
2018-12-08 03:04:36 +00:00
echo "Copying Binaries"
2021-12-24 17:54:40 +00:00
cp -r $artifactsFolder /$runtime /$framework /Lidarr/* $folder /Lidarr.app/Contents/MacOS
2018-12-08 03:04:36 +00:00
echo "Removing Update Folder"
2019-10-17 20:42:49 +00:00
rm -r $folder /Lidarr.app/Contents/MacOS/Lidarr.Update
2017-12-31 18:53:16 +00:00
2018-12-08 03:04:36 +00:00
ProgressEnd 'Creating macOS App Package'
2015-07-04 12:10:11 +00:00
}
2019-10-17 20:42:49 +00:00
PackageWindows( )
2015-07-04 12:10:11 +00:00
{
2019-10-17 20:42:49 +00:00
local framework = " $1 "
2020-11-11 03:56:47 +00:00
local runtime = " $2 "
2021-04-26 18:07:16 +00:00
ProgressStart " Creating $runtime Package for $framework "
2019-10-17 20:42:49 +00:00
2020-11-11 03:56:47 +00:00
local folder = $artifactsFolder /$runtime /$framework /Lidarr
2019-10-17 20:42:49 +00:00
2020-11-11 03:56:47 +00:00
PackageFiles " $folder " " $framework " " $runtime "
2021-04-26 18:07:16 +00:00
cp -r $outputFolder /$framework -windows/$runtime /publish/* $folder
2017-12-31 18:53:16 +00:00
2017-10-25 02:31:37 +00:00
echo "Removing Lidarr.Mono"
2019-10-17 20:42:49 +00:00
rm -f $folder /Lidarr.Mono.*
2019-10-28 21:30:08 +00:00
rm -f $folder /Mono.Posix.NETStandard.*
rm -f $folder /libMonoPosixHelper.*
2015-07-04 12:10:11 +00:00
2017-10-25 02:31:37 +00:00
echo "Adding Lidarr.Windows to UpdatePackage"
2019-10-17 20:42:49 +00:00
cp $folder /Lidarr.Windows.* $folder /Lidarr.Update
2017-12-31 18:53:16 +00:00
2021-04-26 18:07:16 +00:00
ProgressEnd " Creating $runtime Package for $framework "
2015-07-04 12:10:11 +00:00
}
2019-10-28 21:30:08 +00:00
Package( )
{
local framework = " $1 "
local runtime = " $2 "
local SPLIT
IFS = '-' read -ra SPLIT <<< " $runtime "
case " ${ SPLIT [0] } " in
2021-04-26 20:56:39 +00:00
linux| freebsd*)
2019-10-28 21:30:08 +00:00
PackageLinux " $framework " " $runtime "
; ;
win)
2020-11-11 03:56:47 +00:00
PackageWindows " $framework " " $runtime "
2019-10-28 21:30:08 +00:00
; ;
osx)
2021-12-24 17:54:40 +00:00
PackageMacOS " $framework " " $runtime "
PackageMacOSApp " $framework " " $runtime "
2019-10-28 21:30:08 +00:00
; ;
esac
}
PackageTests( )
{
local framework = " $1 "
local runtime = " $2 "
cp test.sh " $testPackageFolder / $framework / $runtime /publish "
rm -f $testPackageFolder /$framework /$runtime /*.log.config
ProgressEnd 'Creating Test Package'
}
2015-07-04 12:10:11 +00:00
# Use mono or .net depending on OS
case " $( uname -s) " in
CYGWIN*| MINGW32*| MINGW64*| MSYS*)
# on windows, use dotnet
2019-10-17 20:42:49 +00:00
os = "windows"
2015-07-04 12:10:11 +00:00
; ;
*)
# otherwise use mono
2019-10-17 20:42:49 +00:00
os = "posix"
2015-07-04 12:10:11 +00:00
; ;
esac
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
POSITIONAL = ( )
2019-09-12 20:35:22 +00:00
if [ $# -eq 0 ] ; then
echo "No arguments provided, building everything"
BACKEND = YES
FRONTEND = YES
PACKAGES = YES
LINT = YES
2021-04-26 20:56:39 +00:00
ENABLE_BSD = NO
2019-09-12 20:35:22 +00:00
fi
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
while [ [ $# -gt 0 ] ]
do
key = " $1 "
case $key in
2019-09-12 20:35:22 +00:00
--backend)
BACKEND = YES
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
shift # past argument
; ;
2021-04-26 20:56:39 +00:00
--enable-bsd)
ENABLE_BSD = YES
shift # past argument
; ;
2019-10-28 21:30:08 +00:00
-r| --runtime)
RID = " $2 "
shift # past argument
shift # past value
; ;
-f| --framework)
FRAMEWORK = " $2 "
shift # past argument
shift # past value
; ;
2019-09-12 20:35:22 +00:00
--frontend)
FRONTEND = YES
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
shift # past argument
; ;
2019-09-12 20:35:22 +00:00
--packages)
PACKAGES = YES
shift # past argument
; ;
--lint)
LINT = YES
shift # past argument
; ;
--all)
BACKEND = YES
FRONTEND = YES
PACKAGES = YES
LINT = YES
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
shift # past argument
; ;
*) # unknown option
POSITIONAL += ( " $1 " ) # save it in an array for later
shift # past argument
; ;
esac
done
set -- " ${ POSITIONAL [@] } " # restore positional parameters
2019-10-17 20:42:49 +00:00
if [ " $BACKEND " = "YES" ] ;
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
then
2019-08-22 21:28:51 +00:00
UpdateVersionNumber
2021-04-26 20:56:39 +00:00
if [ " $ENABLE_BSD " = "YES" ] ;
then
EnableBsdSupport
fi
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
Build
2019-10-28 21:30:08 +00:00
if [ [ -z " $RID " || -z " $FRAMEWORK " ] ] ;
then
2021-12-24 17:40:37 +00:00
PackageTests "net6.0" "win-x64"
PackageTests "net6.0" "win-x86"
PackageTests "net6.0" "linux-x64"
PackageTests "net6.0" "linux-musl-x64"
PackageTests "net6.0" "osx-x64"
2021-04-26 20:56:39 +00:00
if [ " $ENABLE_BSD " = "YES" ] ;
then
2021-12-24 17:40:37 +00:00
PackageTests "net6.0" "freebsd-x64"
2021-04-26 20:56:39 +00:00
fi
2019-10-28 21:30:08 +00:00
else
PackageTests " $FRAMEWORK " " $RID "
fi
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
fi
2019-10-17 20:42:49 +00:00
if [ " $FRONTEND " = "YES" ] ;
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
then
2019-09-12 20:35:22 +00:00
YarnInstall
2021-06-27 04:05:34 +00:00
RunWebpack
2019-09-12 20:35:22 +00:00
fi
2019-10-17 20:42:49 +00:00
if [ " $LINT " = "YES" ] ;
2019-09-12 20:35:22 +00:00
then
if [ -z " $FRONTEND " ] ;
then
YarnInstall
fi
LintUI
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
fi
2019-10-17 20:42:49 +00:00
if [ " $PACKAGES " = "YES" ] ;
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
then
2019-09-08 00:40:23 +00:00
UpdateVersionNumber
2019-10-28 21:30:08 +00:00
if [ [ -z " $RID " || -z " $FRAMEWORK " ] ] ;
then
2021-12-24 17:40:37 +00:00
Package "net6.0" "win-x64"
Package "net6.0" "win-x86"
Package "net6.0" "linux-x64"
Package "net6.0" "linux-musl-x64"
Package "net6.0" "linux-arm64"
Package "net6.0" "linux-musl-arm64"
Package "net6.0" "linux-arm"
Package "net6.0" "osx-x64"
2021-12-24 17:54:40 +00:00
Package "net6.0" "osx-arm64"
2021-04-26 20:56:39 +00:00
if [ " $ENABLE_BSD " = "YES" ] ;
then
2021-12-24 17:40:37 +00:00
Package "net6.0" "freebsd-x64"
2021-04-26 20:56:39 +00:00
fi
2019-10-28 21:30:08 +00:00
else
Package " $FRAMEWORK " " $RID "
fi
New: Set up CI with Azure Pipelines (#897)
* Set up CI with Azure Pipelines
[skip ci]
* Remove Travis, Build Multiple Environments
* Change Task Type to Bash
* Checkout submodules
* Remove Appveyor Tests, Add Azure Tests
* Oops Forget Steps
* bad name
* test script fixes
* add tests to build job
* fixup tests
* name test runs
* fpcalc and artifacts
* Try to fix installer
* Publish separately
* Try publish
* Another go at artifacts
* Tidy up
* Add sentry, assembly info patching and bump version
* Only patch one AssemblyInfo; set node version 10
* Try pipeline artifacts again
* Tidy up - pipeline artifact seems to be way forward
* Fix installer publish
* first go at test job seperation
* job names and depends/consitions for tests
* pusblish single file test artifact
* pipeline artifact for test
* blitz the pattern filter
* windows test jobs
* mac tests, checkout on test jobs
* try to download build artifact to test job
* download and extract artifact
* Set LD_LIBRARY_PATH and print some sqlite debug info on mac tests
* fixup! tests
* integration test fixes
* fixup! integration test fixes
* fixup! integration test fixes
* more fixup
* use bash cp
* test fixups
* mkdir before copy
* linux works! add osx integration tests
* im tooo tired
* coverage attempt
* coverage seperate stage
* windows paths for integration test
* switch coverage to windows where opencover actually works
* fix test script
* one last go
* Simplify installer, try to fix name
* Try to parallelize backend and frontend build
* Try adding a matrix
* Try matrix jobs not stages
* Try to fix package step
* Remove opencover install
* Try to fix tests
* coverage fixes
* revert build.sh changes
* triggers so we don't double build
* Publish coverage package so we can debug
* try coverage no build, output artifact
* use the full pipeline workspace from build job
* fix automation tests for new ui
* Assorted fix attempts
* Another go
* MacOS debug
* Tidy up, try to fix mac
* Fix mac fpcalc, add mac integration tests
* Add cross platform automation tests
* Fix packages
* Try to fix Automation tests
* Don't wait on the installer to create standard packages
* Fixes
* delete logentries reference
* run automation tests in headless mode
* try install firefox mac
* Revert "try install firefox mac"
This reverts commit 4684bb19018747cb00407e1d8df64391f44f5183.
* test sonarcloud prepare outputs
* basic analyze and upload
* don't limit fetch depth on analyze
* manual scanner do front and backend?
* full analyize with tests, coverage
* should depend on tests, coverage
* no need for condition on coverage
* Fix up build numbering
* Try to fix sonar
* Separate coverage calculation and publication
* Try to fix coverage upload
2019-08-13 17:15:59 +00:00
fi