|
|
|
@ -76,6 +76,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()
|
|
|
|
|
{
|
|
|
|
|
ProgressStart 'Build'
|
|
|
|
@ -102,6 +113,8 @@ RunGulp()
|
|
|
|
|
yarn install
|
|
|
|
|
ProgressEnd 'yarn install'
|
|
|
|
|
|
|
|
|
|
LintUI
|
|
|
|
|
|
|
|
|
|
ProgressStart 'Running gulp'
|
|
|
|
|
CheckExitCode yarn run build --production
|
|
|
|
|
ProgressEnd 'Running gulp'
|
|
|
|
|