mirror of https://github.com/lidarr/Lidarr
added packageing of ui to build.ps1
This commit is contained in:
parent
0c3e53458f
commit
8d577ee2ef
18
build.ps1
18
build.ps1
|
@ -59,10 +59,8 @@ Function PackageTests()
|
|||
|
||||
}
|
||||
|
||||
Build
|
||||
PackageTests
|
||||
|
||||
if($runTests)
|
||||
Function Nunit()
|
||||
{
|
||||
$testFiles
|
||||
|
||||
|
@ -74,3 +72,17 @@ if($runTests)
|
|||
$nunitExe = '.\Libraries\nunit\nunit-console-x86.exe ' + $testFiles + ' /process:multiple /noxml'
|
||||
Invoke-Expression $nunitExe
|
||||
}
|
||||
|
||||
Function Grunt()
|
||||
{
|
||||
grunt package
|
||||
}
|
||||
|
||||
Build
|
||||
Grunt
|
||||
PackageTests
|
||||
|
||||
if($runTests)
|
||||
{
|
||||
Nunit
|
||||
}
|
Loading…
Reference in New Issue