Smart Filter Polish & New Filters (#2283)
This commit is contained in:
parent
0d8c081093
commit
45f6fb67d4
23 changed files with 375 additions and 181 deletions
|
@ -15,9 +15,9 @@ ProgressEnd()
|
|||
|
||||
Build()
|
||||
{
|
||||
local RID="$1"
|
||||
local RID="$1"
|
||||
|
||||
ProgressStart 'Build for $RID'
|
||||
ProgressStart "Build for $RID"
|
||||
|
||||
slnFile=Kavita.sln
|
||||
|
||||
|
@ -26,7 +26,7 @@ Build()
|
|||
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:Platform="Any CPU" -p:RuntimeIdentifiers=$RID
|
||||
|
||||
ProgressEnd 'Build for $RID'
|
||||
ProgressEnd "Build for $RID"
|
||||
}
|
||||
|
||||
BuildUI()
|
||||
|
@ -54,17 +54,16 @@ BuildUI()
|
|||
|
||||
Package()
|
||||
{
|
||||
local framework="$1"
|
||||
local runtime="$2"
|
||||
local runtime="$1"
|
||||
local lOutputFolder=../_output/"$runtime"/Kavita
|
||||
|
||||
ProgressStart "Creating $runtime Package for $framework"
|
||||
ProgressStart "Creating $runtime Package"
|
||||
|
||||
# TODO: Use no-restore? Because Build should have already done it for us
|
||||
echo "Building"
|
||||
cd API
|
||||
echo dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder" --framework $framework
|
||||
dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder" --framework $framework
|
||||
echo dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder"
|
||||
dotnet publish -c Release --no-restore --self-contained --runtime $runtime -o "$lOutputFolder"
|
||||
|
||||
echo "Copying Install information"
|
||||
cp ../INSTALL.txt "$lOutputFolder"/README.txt
|
||||
|
@ -79,7 +78,7 @@ Package()
|
|||
cd ../$outputFolder/"$runtime"/
|
||||
tar -czvf ../kavita-$runtime.tar.gz Kavita
|
||||
|
||||
ProgressEnd "Creating $runtime Package for $framework"
|
||||
ProgressEnd "Creating $runtime Package"
|
||||
|
||||
}
|
||||
|
||||
|
@ -94,17 +93,17 @@ BuildUI
|
|||
|
||||
#Build for x64
|
||||
Build "linux-x64"
|
||||
Package "net6.0" "linux-x64"
|
||||
Package "linux-x64"
|
||||
cd "$dir"
|
||||
|
||||
#Build for arm
|
||||
Build "linux-arm"
|
||||
Package "net6.0" "linux-arm"
|
||||
Package "linux-arm"
|
||||
cd "$dir"
|
||||
|
||||
#Build for arm64
|
||||
Build "linux-arm64"
|
||||
Package "net6.0" "linux-arm64"
|
||||
Package "linux-arm64"
|
||||
cd "$dir"
|
||||
|
||||
#Builds Docker images
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue