mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 12:36:50 -07:00
UI Formatting Cleanup
This commit is contained in:
parent
b963f2aa82
commit
52e3d96f4a
110 changed files with 901 additions and 701 deletions
23
build.sh
23
build.sh
|
@ -74,6 +74,17 @@ BuildWithXbuild()
|
|||
CheckExitCode xbuild /p:Configuration=Release /p:Platform=x86 /t:Build /p:AllowedReferenceRelatedFileExtensions=.pdb $slnFile
|
||||
}
|
||||
|
||||
LintUI()
|
||||
{
|
||||
ProgressStart 'ESLint'
|
||||
CheckExitCode yarn eslint
|
||||
ProgressEnd 'ESLint'
|
||||
|
||||
ProgressStart 'Stylelint'
|
||||
CheckExitCode yarn stylelint
|
||||
ProgressEnd 'Stylelint'
|
||||
}
|
||||
|
||||
Build()
|
||||
{
|
||||
echo "##teamcity[progressStart 'Build']"
|
||||
|
@ -98,13 +109,14 @@ Build()
|
|||
|
||||
RunGulp()
|
||||
{
|
||||
echo "##teamcity[progressStart 'npm install']"
|
||||
npm-cache install npm || CheckExitCode npm install --no-optional --no-bin-links
|
||||
echo "##teamcity[progressFinish 'npm install']"
|
||||
ProgressStart 'npm install'
|
||||
yarn install
|
||||
#npm-cache install npm || CheckExitCode npm install --no-optional --no-bin-links
|
||||
ProgressEnd 'npm install'
|
||||
|
||||
echo "##teamcity[progressStart 'Running gulp']"
|
||||
ProgressStart 'Running gulp'
|
||||
CheckExitCode npm run build -- --production
|
||||
echo "##teamcity[progressFinish 'Running gulp']"
|
||||
ProgressEnd 'Running gulp'
|
||||
}
|
||||
|
||||
CreateMdbs()
|
||||
|
@ -253,6 +265,7 @@ case "$(uname -s)" in
|
|||
;;
|
||||
esac
|
||||
|
||||
LintUI
|
||||
Build
|
||||
RunGulp
|
||||
PackageMono
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue